I have a 'Select All' checkbox. Right now it has this code attach to it
- Code: Select all Expand view RUN
oCbxAll:bChange := <||
aeval(oBrw:aArrayData, {|h_| h_["select"] := lAll})
oBrw:refresh()
>
But it has been pointed out to me this logic is not accurate if someone did filtering prior to checking it as it will traverse the whole array, not just filtered ones
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