Must have flexible row height for Datagrid Table

Paul Dupuis paul at researchware.com
Thu Jul 12 13:42:23 CEST 2018


Thanks for looking into the matter.

We currently use a control to allow the user to adjust the DataGrid row
height (which of course changes all rows heights). While inelegant, it
does let the user expand the view of a row where one or more cells have
a lot of content. Variable row height would have been a more elegant
addition. Perhaps LC will add it to the DataGrid for "DataGrid 3" some day.

On 7/11/2018 11:22 PM, Tom Glod via use-livecode wrote:
> Update on this ......  I'm coming to realize that dg isn't going to cut it
> for my needs in applications where performance matters.  Datagrid is built
> using custom properties.  which are way way way slower than accessing
> variables  i haven't tested in a while but last i did it was orrders of
> magnitude slower. that is its major bottleneck, and i think i have to move
> away from moving the LC grid for my needs.
>
> So i think i need to make my own grid solution that covers both different
> sized rows, better performance, and no without all the duplication of data..
>
>
>
> On Tue, Jun 19, 2018 at 5:16 PM, Paul Dupuis via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>
>> On 6/19/2018 4:52 PM, Rick Harrison via use-livecode wrote:
>>> Hi Tom,
>>>
>>> I haven’t done much of anything with the datagrid, but I am
>>> wondering what happens if one of the cells in your row
>>> has an image in it? Will the row resize to be able to show
>>> the minimum height of the image?  If so, that might be
>>> a work around for you.
>>>
>>  Unfortunately, the Datagrid row height in "Table" mode does not resize
>> with contents whether a cell contains an Image, text, or whatever. Rows
>> are all of equal height in pixels that can be set by the developer.
>>
>>
>> _______________________________________________
>> 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