Announcement

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

    How to filter Local Data in Listgrid

    SmartClient version v90d
    Filter did not work for local data.
    for example
    http://www.smartclient.com/index.jsp#localData

    Code:
     
    isc.ListGrid.create({
        ID: "countryList",
        width:500,
        height:224, alternateRecordStyles:true,
        showFilterEditor:true,
        filterLocalData:true,
        fields:[
            {name:"countryCode", title:"Code"},
            {name:"countryName", title:"Country"},
            {name:"capital", title:"Capital"}
        ],
        data: countryData
    })

    #2
    Thanks, I had already decided this issue

    Comment


      #3
      For completeness - as the docs for filterLocalData say, you need a DataSource for filtering, even local filtering like this.

      Comment

      Working...
      X