Announcement

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

    List filter doesn't filter correctly.

    1. See the attachment for the widget I am talking about.
    2. Type a letter or two in the text box, then from drop down select the partner and click on filter.
    3. It displays the Partner correctly in the Partners List.
    4. Do not click on refresh button.
    5. Now again in the text box give a letter or two, then from drop down select a partner and click on filter
    6. This time the filter fails

    Note - It works perfectly when I have few items in my list. But when I have 1000 of records in the list it fails the second time.
    Attached Files

    #2
    This is a gating issue for our customer and we are looking for an early resolution for the same.

    Comment


      #3
      Do let us know if you need anything else.

      Comment


        #4
        You haven't mentioned what product you're using, or what version, or what browser, and your instructions for reproducing the problem are for an application interface we don't have. So there's nothing we can do for you yet - take a look at the FAQ for the information you need to include when posting.

        Comment


          #5
          Smartclient version: v10.0p_2015-06-17/Enterprise Deployment
          Browser : All
          Operating system: All


          Comment


            #6
            Try this:

            URL: http://www.smartclient.com/#filter

            Copy this coe in filter.js

            isc.ListGrid.create({
            ID: "countryList",
            width:500,
            height:300,
            alternateRecordStyles:true,
            dataSource: worldDS,
            sortFieldNum: 0,
            canSort:true,
            dragDataAction:"none",
            canHover:true,
            canSelectOnRightMouse:false,
            canReorderRecords:false,
            fields:[
            {name:"countryCode", title:"Code", width:50},
            {name:"countryName", title:"Country"},
            {name:"capital", title:"Capital", filterEditorType: "ComboBoxItem"},
            {name:"continent", title:"Continent"}
            ],
            autoFetchData: true,
            showFilterEditor: true
            })



            Check the Capital column.
            It works fine here. Same it works fine for me when the list is just few lines.But the problem starts when the list has more than 1000 records in it.
            See this URL - http://forums.smartclient.com/filedata/fetch?id=236963

            When there are more than 1000 records the filter works fine the first time. But when we try to search second time the filter fails and does not give me any search result.

            Hope it helps.


            Comment


              #7
              So this bit of code is, again, another way of *not* reproducing the problem? Because we need a way to actually reproduce a problem in order to help, obviously..

              There are several sample DataSources with 1000s of records, so if this issue is indeed related to data volume, it should be straightforward to reproduce.

              Comment


                #8
                I could not find out any datasource in your sample which has 1000 records can you point me to that please.

                Comment


                  #9
                  Hi satya_paul,

                  try the BuiltInDS-sample and the supplyItem DataSource.

                  Best regards
                  Blama

                  Comment

                  Working...
                  X