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

How to disable AllowDragToGroup for specific column or template

1 Answer 112 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mihir Pathak
Top achievements
Rank 1
Mihir Pathak asked on 03 Mar 2010, 10:27 PM
Hi,

In my grid I have set ShowGroupPanel to true and under ClientSetting AllowDragToGroup is also set to true. In my grid I have simple templete which contains Hyperlink. I want to disable AllowDragToGroup for this column. Is that possible?

Thanks
MP

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 04 Mar 2010, 07:41 AM
Hello Mihir,

You can set the Groupable property of the GridButtonColumn/GridTemplateColumn to false to prevent the user from grouping these columns:

<Columns>                     
    <telerik:GridButtonColumn ButtonType="LinkButton" Groupable="false" Text="linkButton" UniqueName="ButtonColumn"
    </telerik:GridButtonColumn> 
    <telerik:GridTemplateColumn Groupable="false" HeaderText="TemplateColumn" UniqueName="TemplateColumn"
        <ItemTemplate> 
            ..... 
        </ItemTemplate> 
    </telerik:GridTemplateColumn> 
</Columns>  

Thanks
Princy.
Tags
Grid
Asked by
Mihir Pathak
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or