Page 1 of 1

polygrid data

Posted: Sat Jul 09, 2022 3:11 pm
by rjd
Hi - anyone know how to retrieve the line or cell data in a polygrid? I thought probably 'put the text of line pRowNumber' would work off of cellDoubleClick but no joy.

Re: polygrid data

Posted: Sat Jul 09, 2022 3:50 pm
by Klaus
If I remember right, this should be similar to the syntax for the Datagrid object.
So I guess this should work:

Code: Select all

...
put line pRowNumber of the PGtext of widget "your polygrid here"
...

Re: polygrid data

Posted: Sat Jul 09, 2022 6:58 pm
by Klaus
Found an old demo of the PolyGrid from "FerrusLogic" and can confirm that my script above works as expected!

Re: polygrid data

Posted: Sun Jul 10, 2022 1:04 pm
by rjd
Thanks Klaus! Works beautifully :D