Hi Bruce,
Clik here to view.
There are several ways to do so and they are "similar" to datagrid actions.
Using your example -> modify cell 3,3
1. Edit the TEXT of row 3:2. Edit the ARRAY of row 3:Maybe there are more ways, but that should get you started. Image may be NSFW.
Clik here to view.
Best
Klaus
please DON'T! Like in showbiz, behind the curtains it will get a bit ugly. Image may be NSFW.I feel like a domestic abuser to the beauty that is polygrid
Clik here to view.

There are several ways to do so and they are "similar" to datagrid actions.
Using your example -> modify cell 3,3
1. Edit the TEXT of row 3:
CODE:
...## Tell the widget what row (line) we are interested in:set the pgInternalPointer of widget "pgWhatever" to "3"put the pgTextOfRow of widget "pgWhatever" into tText## Now modify "column" 3:set itemdel to TABput tNewValue into item 3 of tTextset the pgTextOfRow of widget "pgWhatever" to tText...
CODE:
...## Tell the widget what row (line) we are interested in:set the pgInternalPointer of widget "pgWhatever" to "3"put the pgDataOfRow of widget "pgWhatever" into tArray## Now modify "column" 3:put tNewValue into tArray["name of this column here"]set the pgDataOfRow of widget "pgWhatever" to tArray...
Clik here to view.

Best
Klaus
Statistics: Posted by Klaus — Sat Jul 27, 2024 10:59 am