select

Grid / Filtering in Hierarchy

Rate this demo: Feedback
Run example in: C# VB.NET Change Skin:
Vista
  • BlackBlack
  • DefaultDefault
  • ForestForest
  • HayHay
  • Office2007Office2007
  • OutlookOutlook
  • SimpleSimple
  • SitefinitySitefinity
  • SunsetSunset
  • TelerikTelerik
  • VistaVista
  • Web20Web20
  • WebBlueWebBlue
  • Windows7Windows7
 Contact name Contact titleCity
 
 Page 1 of 31, items 1 to 3 of 91.
Alejandra CaminoAccounting ManagerMadrid
 
 OrderIDDate Ordered Shipped DateFreight
 
12
 Page 1 of 2, items 1 to 3 of 5.
10281Wednesday, August 14, 19968/21/1996$2.94
 
Unit PriceQuantity Discount
$3.6060.00 %
$14.4040.00 %
$7.3010.00 %
10282Thursday, August 15, 19968/21/1996$12.69
10306Monday, September 16, 19969/23/1996$7.56
Alexander FeuerMarketing AssistantLeipzig
Ana TrujilloOwnerMéxico D.F.

Example Source Code & Description

Instructions
Open in new window
  • The demo illustrates the "per level" filtering capabilities of hierarchical grid. Filtering can be enabled/disabled using RadGrid.AllowFilteringByColumn or GridTableView.AllowFilteringByColumn properties. Then each column that supports filtering (GridBoundColumn, GridCheckBoxColumn, etc) will show a filter box beneath the corresponding header.

    User can set a filter expression based on the rules specified in the corresponding column properties: FilterFormatString, CurrentFilterFunction, CurrentFilterValue . After pressing the filter button (next to the filter box) the grid displays only the records matching the filter criteria (regarding the settings of all filter boxes).


    Note that the built-in filtering feature/hierarchical structure is not supported with simple data-binding (calling DataBind()). See the Simple data binding demo from the Populating with data section for more info about the limitations of this binding mode.


    Further information about the filtering feature of Telerik RadGrid you can find in these online resources:
    Filter list options
    Grid known filter functions
    Controls - RadGrid - Filtering chapter
Compatible with ASP.NET 2.0, 3.5 AJAX enabled Accessibility Verified!Valid XHTML 1.1! Optimized for Visual Studio 2005, 2008
Copyright 2002-2010 © Telerik. All right reserved  | 
Telerik Inc., 460 Totten Pond Rd, Suite 640, Waltham, MA 02451

www.telerik.com  |  Terms of Use  |  Contact Us