Polygrid sorting

Paul Dupuis paul at researchware.com
Mon Aug 15 16:10:49 EDT 2022


Okay, I built the stack and tested it under Windows 10. The 3 beeps are 
intentional. It is to let me know when it is done as some test with 500+ 
columns/rows takes a while. It does display under LC9.6.8 (64 bit) on 
Windows 10.

Now I have to go try it on macOS?



On 8/15/2022 4:01 PM, Mark Smith via use-livecode wrote:
> Hi Paul,
>
> I downloaded your sample stack, put 100 into the Columns field, heard 3 audible beeps but no data (or PolyGrid) appeared. There is data in the pgcolumnnames and pgdata custom properties (so those values were defined). It’s just the grid that did not appear. Thinking it might be my laptop (apple silicon M1) I tried it on an Intel MacBook Pro and got the same result.
>
> I am a big fan of being able to lock top and left-most column/rows of any grid and would happily endorse your request.
>
> Cheers,
> Mark
>
>> On 15 Aug 2022, at 7:29 pm, Paul Dupuis via use-livecode <use-livecode at lists.runrev.com> wrote:
>>
>> So, I bought the Summer Bundle. Yes, it is a good deal.
>>
>> In my case it was primarily for the Polygrid widget. Our application uses a Datagrid to display customer research data. The columns headers are text and the left most column ROWs are test and all other cells are numbers. Some customers can have quite large data sets and I have been running into the number of columns (ad a default width of 100px per column) exceeding a GROUPs 32,767px width maximum (about 327-328 columns). At this point the Datagrid just fails - no data is displayed.
>>
>> I can now attest that a Polygrid (under LC 9.6.8) does not have this limit. I have a "test" stack (for Datagrid testing) I converted to the Polygrid and can easily generate 1000 columns x 1000 rows of data and it works.
>>
>> So I guess the answer to bug https://quality.livecode.com/show_bug.cgi?id=23875 is "Use the PolyGrid"
>>
>> On that note, the Datagrid has 2 features I use in this specific case, user column resizing (built into the Polygrid - Yea!) and column sorting (NOT built into the Polygrid - Boo!). So, does anyone have some column sort code for the Polygrid they have written that they might be willing to share?
>>
>> Also, I have filled a Polygrid enhancement request to allow the left column (or the left N columns) to be locked/frozen, so they remain visible when the Polygrid is scrolled horizontally. See https://quality.livecode.com/show_bug.cgi?id=23880. If you might benefit from this enhancement, please follow the bug or add a comment to that effect.
>>
>>
>> _______________________________________________
>> 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
>
> _______________________________________________
> 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