Hi,
I tried to include a column with a remove field on the left side of a ListGrid with filtering enabled.
Using the standard remove Field on the right side of a ListGrid is no problem.
But when I include a ListGridField with isRemoveField:true the fields of the filterEditor does not match the fields of the grid. The remove icon is displayed in the second column, not the first.
Tested with https://www.smartclient.com/smartcli...ase/?id=filter on Safari 14.0.1 and Firefox 83.0
I added canRemoveRecords: true and {isRemoveField: true} as the first column.
This is how it looks like.
Regards,
Olaf
I tried to include a column with a remove field on the left side of a ListGrid with filtering enabled.
Using the standard remove Field on the right side of a ListGrid is no problem.
But when I include a ListGridField with isRemoveField:true the fields of the filterEditor does not match the fields of the grid. The remove icon is displayed in the second column, not the first.
Tested with https://www.smartclient.com/smartcli...ase/?id=filter on Safari 14.0.1 and Firefox 83.0
I added canRemoveRecords: true and {isRemoveField: true} as the first column.
Code:
isc.ListGrid.create({ ID: "countryList", width:500, height:300, alternateRecordStyles:true, dataSource: worldDS, canRemoveRecords: true, fields:[ {isRemoveField: true}, {name:"countryCode", title:"Code", width:60}, {name:"countryName", title:"Country"}, {name:"capital", title:"Capital"}, {name:"continent", title:"Continent"} ], autoFetchData: true, showFilterEditor: true })
Regards,
Olaf
Comment