Polygrid or polylist as datagrid form replacement?
Terry Judd
terry.judd at unimelb.edu.au
Fri Aug 16 16:44:36 EDT 2024
Thanks Andreas – that lesson explains how it works for Mark much more clearly than I could in the space of an email.
Form datagrids are great but they can be a bit slow to render when they contain a lot of stuff. I use them to create fairly complex asssessment feedback reports (PDFs) to students and I was looking for possible ways to speed up the generation process. I guess I’ll just stick with what works.
Regards – Terry
So, Terry is correct: Polygrid and Polylist currently have fixed/uniform row heights. I hope that might be enhanced one day. So if variable row height is a requirement, you’ll have to stick with the Datagrid for now.
This was also discussed in the Forum last year, including hints on how to achieve variable row heights in a Datagrid:
https://forums.livecode.com/viewtopic.php?f=8&t=37819&p=222950&hilit=datagrid#p222950
/Andreas
> 16 aug. 2024 kl. 12:02 skrev Mark Smith via use-livecode <use-livecode at lists.runrev.com>:
>
> Hi Terry, I can’t answer your question but I am curious if you have any code you use to dynamically resize the row height in a datagrid. I am very interested in doing this.
>
> Thanks
> Mark
>
> Sent from my iPhone
>
>> On Aug 16, 2024, at 7:35 AM, Terry Judd via use-livecode <use-livecode at lists.runrev.com> wrote:
>>
>> I’ve been using datagrid form objects for a number of years and am investigating the viability of replacing them with polygrids or polylist widgets but on first look it seems that both have fixed/uniform row heights, whereas datagrid form rows can dynamically resize their height according to their content - ie individual rows can have different heights.
>>
>> Is that right, or am I missing something?
>>
>> Terry
>> _______________________________________________
>> 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
_______________________________________________
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