Announcement

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

    ListGrid Setting up column widths

    1. SmartGWTPower 2.4

    2. I am creating a ListGrid as follows:

    ListGrid grid = new ListGrid();
    grid.setCanSelectAll(false);
    grid.setAutoFitFieldWidths(true);
    grid.setShowEmptyMessage(true);
    grid.setEmptyMessage("No Data !....");
    3. When I tried to filter data in one of the columns and the result is empty, All the columns width expands so that you cannot figure out which column the filter value is entered. If there is no data, then i would like the columns to be in title width instead of expanding.

    Please let meknow the way.

    #2
    There were some upgrades to the autoFit system to better handle the case of fitting when switching between having data and not having data - we recommend getting 3.0 or at least 2.5. Grab the latest patched build from smartclient.com/builds.

    Comment

    Working...
    X