I have a 'Select All' checkbox. Right now it has this code attach to it
Code: Select all
oCbxAll:bChange := <||
aeval(oBrw:aArrayData, {|h_| h_["select"] := lAll})
oBrw:refresh()
>
As shown in the screen above which is displaying an array of hashes, when user clicks 'Select All' it is expected only the two visible rows should have the select flag toggled.
How should I code oCbxAll:bChange so it updates only filtered rows?
TIA