Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Auto Fit All Columns broken on grouped grid

$
0
0
I have found bug in 'Auto Fit All Columns' on grouped grids. Reproducible on SmartClient 9.0 and 9.1.

Steps to reproduce:
1. Go to LiveGrid in Feature Explorer: http://www.smartclient.com/docs/9.0/a/system/reference/SmartClient_Explorer.html#fetchOperationFS

2. Add groupByMaxRecords: 10000 property to enable grouping.
Code:

isc.ListGrid.create({
    ID:"dsListGrid",
    width: "100%",
    height: "100%",
    autoFitData: "horizontal",
    autoFetchData: true,
    dataSource: "supplyItem",
    groupByMaxRecords: 10000
});

3. Group by 'Category' and execute 'Auto Fit All Columns' from context menu.

'Description' and 'Unit Cost' values are getting clipped instead of expanding to accommodate width of their values (screenshot attached). Without grouping, everything works as expected.
Tested on Firefox 26.0 and Google Chrome 31, both running on Windows 7.

Attached Images
File Type: png clipped_auto_fit_small.png (40.7 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles