This is a migrated thread and some comments may be shown as answers.

Allow limited column to drop in AllowDragToGroup

2 Answers 28 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jaichand
Top achievements
Rank 1
Jaichand asked on 19 Sep 2011, 12:59 PM
Hi,
I am using Radgrid and using the facility of grouping grid header columns.
My requirement is to grouping for  single column only means there is no chance to  drag & drop  more than one column.in grouping panel.
I also want to display  pop up message for drag & drop for column.

AllowDragToGroup is working fine but How can I do the above  things.
 Please help me ...........




Thanks
Jaichand

2 Answers, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 19 Sep 2011, 01:18 PM
Hello,


protected void RadGrid1_GroupsChanging(object sender, GridGroupsChangingEventArgs e)
    {
        if (e.Action == GridGroupsChangingAction.Group)
        {
            RadGrid1.ClientSettings.AllowDragToGroup = false;
        }
        else if (e.Action == GridGroupsChangingAction.Ungroup)
        {
            RadGrid1.ClientSettings.AllowDragToGroup = true;
        }
    }

let me know if any concern.

Thanks,
Jayesh Goyani
0
Jaichand
Top achievements
Rank 1
answered on 23 Sep 2011, 08:25 AM
Thanks, It working fine.
Tags
Grid
Asked by
Jaichand
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Jaichand
Top achievements
Rank 1
Share this question
or