Polygrid columns not fully clearing when pgColumns is set
Paul Dupuis
paul at researchware.com
Thu Aug 24 14:30:31 EDT 2023
Aha, I was setting pgColumns to the fewer columns and THEN pgData to the
smaller data set to match the columns
You need to clear the pgData (set to empty) first, then set the columns,
then set the new pgData.
Perhaps this is a documentation bug?
On 8/24/2023 2:26 PM, Paul Dupuis via use-livecode wrote:
> Hi to any polygrid developers out there,
>
> Please see bug https://quality.livecode.com/show_bug.cgi?id=24315
>
> I have run into an issue with the latest polygrid (as of this post)
> where if you set pgColumns to a new array that reduces the number of
> columns in the grid, some old columns are not cleared, but instead are
> set to defaults (ie. the names revert to col5, col6, etc. instead of
> being completely removed
>
> Any thoughts to a work-around?
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list