clearing a polygrid/polylist

Alex Tweedly alex at tweedly.net
Wed Oct 12 15:47:42 EDT 2022


For polygrid

    set the pgdata of widget 1 to empty

For polylist

   set the datacontent of widget 2 to empty

BUT beware - on my trivial test, this appears to cause the last 
character of the header to be removed !!

I'll investigate some more and bug report it if it seems consistent.

Alex


On 12/10/2022 15:49, Mike Kerner via use-livecode wrote:
> How do you clear a polylist/polygrid?
> set the tsvdata of widget 1 to empty # throws an error
>



More information about the use-livecode mailing list