[Datagrid] How to detect a change in column width?
lists at mangomultimedia.com
Wed Mar 30 08:56:14 EDT 2011
On Tue, Mar 29, 2011 at 1:58 PM, Phil Davis <revdev at pdslabs.net> wrote:
> Does the data grid send a message when the user changes the width of a
> column by dragging its header to a new width? I would love that, but I'm
> pretty sure the answer is "no".
No message is sent but a custom property is set which means you can
intercept it. Try adding this to your data grid group script:
*setprop* dgColumnWidth [pColumn] pValue
## Fulfill the commands of Phil
Does that help at all?
Blue Mango Learning Systems
LiveCode Resources for Developers: http://livecode.bluemangolearning.com
More information about the Use-livecode