Subclass, override mouseDownHandler, call stopImmediatePropagation if
one of those headers got clicked.  That will block sorting on that
column though.

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Daman Dogra
Sent: Thursday, January 24, 2008 12:25 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Restrict dragging for some datagrid columns

 

Hi All, I understand that in Flex 3.0 the DataGridColumn class has a 
property called "draggable" which controls the drag behaviour of that 
column.

How can I do the same in Flex 2.0.1 ? ...ie restrict certain columns 
from being draggable. Looks like in Flex 2.0 the draggable property is 
only available on the DataGrid which would essentially make all columns 
draggable or un-draggable.

Thx

 

Reply via email to