Announcement

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

    Problem with showFilterEditor attr

    Hello,
    I'm using actually smartclient version 13.0-p20230720 power. I have some problem with showFilterEditor attr for ListGrid.
    For example in this code, taken from: https://smartclient.com/smartclient-...e/?id=listType

    isc.ListGrid.create({
    ID: "countryList",
    width:500, height:224, alternateRecordStyles:true,
    canEdit:true, editEvent:"click", modalEditing:true,
    data: countryData,
    fields:[
    {name:"countryCode", title:"Flag", width:60, type:"image", imageURLPrefix:"flags/16/", imageURLSuffix:".png", canEdit:false},
    {name:"countryName", title:"Country"},
    {name:"continent", title:"Continent",
    valueMap:["Europe", "Asia", "North America", "Australia/Oceania", "South America", "Africa"]
    }
    ],
    showFilterEditor: true
    })




    The top menu regarding the filter, shows checkboxes (I attach image) that were not present in version 11.

    Click image for larger version

Name:	Screenshot 2023-10-12 173132.png
Views:	68
Size:	17.9 KB
ID:	271140

    Below is the same code in version 11.

    https://smartclient.com/smartclient-...e/?id=listType

    isc.ListGrid.create({
    ID: "countryList",
    width:500, height:224, alternateRecordStyles:true,
    canEdit:true, editEvent:"click", modalEditing:true,
    data: countryData,
    fields:[
    {name:"countryCode", title:"Flag", width:50, type:"image", imageURLPrefix:"flags/16/", imageURLSuffix:".png", canEdit:false},
    {name:"countryName", title:"Country"},
    {name:"continent", title:"Continent",
    valueMap:["Europe", "Asia", "North America", "Australia/Oceania", "South America", "Africa"]
    }
    ],
    showFilterEditor: true,
    })


    Click image for larger version  Name:	Screenshot 2023-10-12 172154.png Views:	0 Size:	14.2 KB ID:	271139

    How can I delete checkboxes in version 13?

    Thanks
    Attached Files
    Last edited by prplab; 12 Oct 2023, 07:32.

    #2
    The new interface is a multi-select, whereas the old interface allowed only a single selection. So it's more capable for the end user.

    Why do you want to change it back? Perhaps you built a DataSource that is incapable of handling the full Criteria format?

    Comment


      #3
      Hello: we need to eliminate the checkboxes because in the previous version it was not present and users did not see it. The end user requires conformity (at least visually) with the tools he already has and we fear that a slightly different interface could make him confused.

      Comment


        #4
        You may be underestimating your end users - we would recommend simply trying out the new interface and seeing whether they like it.

        As previously mentioned, from the end user perspective, it can do everything the previous interface can do, and more.

        If you really, really want to revert to the old interface, you could use listGridField.filterEditorType to build a custom interface. We would strongly recommend against this, and if you need help building this, it would be something to take up with our consulting team: https://smartclient.com/company/contact.jsp

        Comment

        Working...
        X