Announcement

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

    Wrong order of filterEditor with isRemoveField in ListGrid

    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.
    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
    })
    This is how it looks like.
    Click image for larger version

Name:	Bildschirmfoto 2020-12-02 um 13.02.28.png
Views:	59
Size:	68.4 KB
ID:	264215

    Regards,
    Olaf
    Attached Files

    #2
    Thank you for the test case
    We've made a change to resolve this issue. Please try the next nightly build, dated December 4 or above (12.1 and 13.0d branches)

    Regards
    Isomorphic Software

    Comment

    Working...
    X