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

RadGrid General Questions

2 Answers 30 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Abhijit Shetty
Top achievements
Rank 2
Abhijit Shetty asked on 12 Oct 2012, 04:35 PM
Hi Team,
I'm new to Telerik controls and have few questions about RadGrid.
  1. RadGrid and MasterTableView have duplicate properties like AllowFilteringByColumn, AllowSorting, AllowPaging, etc. So what is purpose of this duplicacy and what should be set in order to get required functionality.
  2. MasterTableView have property AllowCustomSorting. What is its use as i havent found any documentation (may be i missed it)?
  3. If i set EnableHeaderContextMenu="true" and EnableHeaderContextFilterMenu="true", then how to disable it for a particular Column.
  4. I have set function on OnRowDataBound of RadGrid using ClientEvents but when i Sort/Filter using ContextMenu, function doesn't get fired. Actually i want to know how to sort/filter at client-side using ContextMenu.
  5. On HeaderContextMenu how to remove Grouping options, using property at Grid level instead of column level.

2 Answers, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 12 Oct 2012, 06:30 PM
Hello,

1.
Grid Supporting multilevel hierarchy.

// this property applied to all grid (parent and child)
<telerik:RadGrid ID="RadGrid1"  AllowSorting="true">
 
// This property apllied to only parent grid
<MasterTableView AllowSorting="true">
 
 
// This property apllied to only Child grid
<DetailTables>
    <telerik:GridTableView AllowSorting="true"></telerik:GridTableView>
</DetailTables>

2.
Radgrid support automaticsorting and custom sorting. Please check below demo.
Custom sorting
automatic sorting

3. Access Header ContextMenu
http://www.telerik.com/help/aspnet-ajax/grid-onheadermenushowing.html
http://www.telerik.com/help/aspnet-ajax/menu-radmenuitemcollection-client-side.html
http://www.telerik.com/help/aspnet-ajax/menu-client-side-objects.html


Thanks,
Jayesh Goyani
0
Abhijit Shetty
Top achievements
Rank 2
answered on 13 Oct 2012, 09:51 AM
Thanks Jayesh for your valuable response.

Can you guide me on points 3,4, and 5 because the links you have provided was not relevant to it.
Tags
Grid
Asked by
Abhijit Shetty
Top achievements
Rank 2
Answers by
Jayesh Goyani
Top achievements
Rank 2
Abhijit Shetty
Top achievements
Rank 2
Share this question
or