Wrong reference in filtered rgrid
Posted: Mon Dec 14, 2015 6:15 pm
setting a filter using:
on rawKeyUp
set the '["filter column 1 of sheet 1"] of grp "rGrid" to "with *" & me & "*"
send "render" to grp "rGrid"
end rawKeyUp
works fine.
But when i try to copy cells in the filtered grid or
i try to
put the '["hilitedRows"] of grp "rGrid" into int ttest
put the '["values of row "&ttest&""] of grp "rGrid" into tdata
i still get the values of row 1-3 in tdata.
(row 1 - 3 is hilited, the filtered grid shows row 4-5)
What would be the easiest way to access the shown data?
on rawKeyUp
set the '["filter column 1 of sheet 1"] of grp "rGrid" to "with *" & me & "*"
send "render" to grp "rGrid"
end rawKeyUp
works fine.
But when i try to copy cells in the filtered grid or
i try to
put the '["hilitedRows"] of grp "rGrid" into int ttest
put the '["values of row "&ttest&""] of grp "rGrid" into tdata
i still get the values of row 1-3 in tdata.
(row 1 - 3 is hilited, the filtered grid shows row 4-5)
What would be the easiest way to access the shown data?