Hi lemodizon,
There is tsvData for the polygrid, you can set and get tsvData of a polygrid.
The first line is the column headers.
That is one way to get at your data, here it seems to be the easiest way.
Kind regards
Bernd
There is tsvData for the polygrid, you can set and get tsvData of a polygrid.
The first line is the column headers.
That is one way to get at your data, here it seems to be the easiest way.
CODE:
on mouseUp put the tsvData of widget "pgDetails" into tData set the itemDelimiter to tab repeat with i = 1 to the number of lines of tData put item 1 to 2 of line i of tData & return after tCollect end repeat delete char -1 of tCollect # a return ## I reset the itemDelimiter, not necessary here but in longer scripts ## it is easy to forget that the itemDelimiter is not comma set the itemDelimiter to comma ## tCollect contains your result as tabbed list put tCollect into message boxend mouseUp
Bernd
Statistics: Posted by bn — Tue May 28, 2024 10:09 am