Title: disable dragdrop event on specific column of treegrid or data grid dragdrop Post by: yogesh on September 24, 2013, 05:44:18 AM as we discussed in thread it is possible to drag drop on datagrid and treegrid
http://www.jeasyui.com/forum/index.php?topic=575.0 but if i want to allow user drag drop using only one column in datagrid and treegrid then how to achive this in this framework? Title: Re: disable dragdrop event on specific column of treegrid or data grid dragdrop Post by: stworthy on September 25, 2013, 06:45:32 AM Please use the datagrid-dnd extension that can be downloaded from http://www.jeasyui.com/extension/datagrid_dnd.php. Some events such as 'onBeforeDrag' can be used to determine if the drag drop action is allowed.
Title: Re: disable dragdrop event on specific column of treegrid or data grid dragdrop Post by: yogesh on September 26, 2013, 01:21:27 AM Hi,
i checked that document current option is to play with rows not with column $('#dg').datagrid('enableDnd', 1); // enable dragging on second row $('#dg').datagrid('enableDnd'); how to disable column for drag drop event. |