datagrid column resizing

Monte Goulding monte at sweattechnologies.com
Mon Mar 14 20:34:58 EDT 2011


Hi

I have a two column datagrid and I would like to always use the full width of the datagrid - scrollbar width to display them no matter the width of the data grid or if the user has resized a column. So if column A is resized I need to resize column B to = column A with - datagrid width-scrollbar width. I'd also probably like to limit both columns to have a max and min width of say 30% and 70% of the width of the datagrid. I use the same template in multiple places and at different sizes.

Ideally I might handle a resizeColumn message in a whole column or even a datagrid background script. What are my options?

Cheers

Monte



More information about the use-livecode mailing list