SmartClient Version: SNAPSHOT_v13.1d_2024-07-10/AllModules Development Only (built 2024-07-10)
Hello, please try this test case:
you'll see that the autoFit doesn't calculate the right width for the datetime field:
this happens only with Shiva skin.
Hello, please try this test case:
Code:
isc.DataSource.create({ ID: "presetDateRangeDS", clientOnly: true, fields: [ { name: "customerID" }, { name: "customerName" }, { name: "orderID", width:80 }, { name: "orderDate", type: "datetime", width:100 }, { name: "orderDescription" }, { name: "orderQty" } ], testData: presetDateRangeData }); isc.ListGrid.create({ ID: "grid1", width: 750, height: 150, autoFitFieldWidths:true, dataSource: presetDateRangeDS, autoFetchData: true, useAllDataSourceFields: true, showFilterEditor: true, canGroupBy: true, fields: [ { name: "orderDate", filterEditorType: "RecentDateRangeItem" } ] }); isc.VLayout.create({ width: "100%", height: "100%", membersMargin: 10, members: [ grid1 ] })
this happens only with Shiva skin.
Comment