Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Automatic Sizing of ListGrid fields

    If I build a table in HTML, when it is displayed, the browsers will automatically size the cells according to the data in them. This gives 'best fit' for the given data.

    Is there anything in a ListGrid that I can set that will provide the same behaviour? i.e. each 'column' will get a varying proportion of the available width depending upon the length of data within the cells of the column.

    thx

    #2
    Try using editGrid.setAutoFitFieldWidths(true);
    You will need the lastest smartgwt jar, at least one that is sometime in July 2010.

    Comment

    Working...
    X