When using the "Auto Fit All Columns" option from the ListGrid header context menu, the resulting layout is inconsistent depending on whether the user previously resized a column or not. This issue can be reproduced on the following demo in the SmartClient showcase:
https://www.smartclient.com/smartcli...sizeIncrease=0
To reproduce, follow the steps provided:
Wide Result:
Thin Result:
Thank you for your time.
https://www.smartclient.com/smartcli...sizeIncrease=0
To reproduce, follow the steps provided:
- Click on tab "autoFitColumns.js"
- Change line #3 width to 1000
- Click on "Try it" button
- Right click on any column header and select "Auto Fit All Columns"
- Result: "Country" column will be resized to be very wide
- Manually adjust the size of any column
- Right click on any column header and select "Auto Fit All Columns"
- Result: auto fit works and all the columns will be resized in a reasonable manner
Wide Result:
Thin Result:
Thank you for your time.
Comment