Announcement

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

    setCriteria not work when value is changed by selectionChanged in isc.ListGrid

    When I use selectionChanged to save one value in selected row, then setCriteria by changed fileld not work
    what is wrong in my example?
    Code:
    selectionChanged: function(item, isChecked) {
         item.filterFlag = isChecked;
    }
    you can find the code bellow

    Code:
    isc.ListGrid.create({
     ID: "gridSuppliersList",
     height:"*", alternateRecordStyles:true,
     selectionAppearance:"checkbox",
     dataSource: dsSuppliers,
     autoFetchData:true,
     showRowNumbers:true,
     selectionChanged: function(item, isChecked) {
         //console.log(item);
         item.filterFlag = isChecked;
     },
     fields:[
         {name:"supplier", title:"Supplier"},
         {name:"filterFlag", type:"boolean", canEdit: true}
     ]
    });

    #2
    This was very nearly deleted as a duplicate of your other thread.. what you've done here is asked the same question, but removed the possibility of anyone being able to answer it, by removing all the details that would allow them to.

    See the FAQ for the information you need to provide when posting. Please do not post this same question restated yet again, or it will be deleted.

    Comment


      #3
      Dear Admin,
      this topic isn't duplicate, it's true this have some similar information from previous topic but there is't clear the solution, how to fix it, and there is different questions,
      I can complete this topic with more information to be more clear and useful for other developers.

      Comment

      Working...
      X