[CLOSED] Grid column auto size

  1. #1

    [CLOSED] Grid column auto size

    Hi,

    Is it possible to set the column of a grid to auto size based on the column header title? The header is localized and can have varying length.

    Regards
    Last edited by Daniil; Oct 05, 2011 at 10:52 AM. Reason: [CLOSED]
  2. #2
    Hi,

    Well, there is no such functionality.

    You could set respective .Width for all columns manually on server side (or client side).

    Something like this:
    ColumnBase c = ColumnModel1.Columns[0].Width;
    c.Width = c.Header.Length * 20;

Similar Threads

  1. [CLOSED] Scrollbar with auto size is not working
    By pdcase in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 22, 2012, 11:54 AM
  2. [CLOSED] Grid Panel : Column width (Auto width)
    By legaldiscovery in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Sep 24, 2011, 8:31 PM
  3. [CLOSED] how to set rownumber column auto width
    By lonely7345 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 02, 2011, 3:50 PM
  4. [CLOSED] Scroll column size in the Grid
    By majunior in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Mar 19, 2011, 3:17 AM
  5. How to auto-size non Ext or ASP control?
    By dbassett74 in forum 1.x Help
    Replies: 4
    Last Post: May 15, 2009, 2:23 PM

Posting Permissions