Hi ,
I have one editable grid where selected rows are not getting reset.
1. Table is having 10 rows
2. Selected 3rd n 4th rows by clicking on checkbox at the right most side.
3. I have one reset button with that i make all values null like all filter values and other local variable.
But after refreshing selected 3rd n 4th rows are not getting deselect.
Ideally after reset all rows should be display like the default grid rows.
Any idea which property used to reset to make un select all rows.
Discussion posts and replies are publicly visible
I am using a!gridField where i am unable to find any properties which can hold this count . As we have options in
a!gridLayout - selectionValue: local!selected, selectionSaveInto: local!selectedHow we can achieve same thing here.
local!selected is an array with the index of the value selected (i.e. 3,4) , if you want to reset, you should do in an a!save(local!selected,null) inside your reset button.
selected: local!selected
I have used this way also where i am keeping local!selected under selected property of gridField. But as per document selected property is not available for gridField
In other way also tried . I have tried to save value of gridField in local!selected variable n tried to reset by assigning null in reset link. But nothing is happening.