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