Wednesday, November 17, 2010

Overview of RadGridView Structure

Row
Each row in RadGridView is represented by GridRowElement class.

HeaderRow
The header element is represented by GridHeaderRowElement class.

Add New Row
Depending on the value of GridViewTemplate.AddNewRowPosition property, the new row element appears below the header row or after the data rows.

FilteringRow
FilteringRow appears automatically when you have Filtering enabled by setting RadGridView.EnableFiltering or GridViewTemplate.EnableFiltering properties.

GridViewIndentColumn
This column appears when the grid data is grouped or there is a hierarchical structure to facilitate the expand/collapse functionality. The expand column is always placed in front of all other grid content columns and cannot be moved.

GridViewDataColumn
Displays a column bound to a field in a data source.

MasterViewTemplate
MasterViewTemplate is the top most GridViewTemplate in the hierarchical structure. It contains all inner GridViewTemplates(GridViewTemplate.ChildGridViewTemplates collection). When there is no hierarchical structure, only MasterGridViewTemplate is displayed.

GridViewTemplate
GridViewTemplate is a basic class containing settings for a single level of the hierarchical structure.

ScrollBars
RadGrid will automatically show and hide scrollbars as needed.

GroupPanel
When you want to enable the group-by functionality for the end-user, you need to set RadGridView.GroupingEnabled to true and GridViewTemplate.EnableGrouping. If you want to prevent the end-user to drag column header into the GroupPanel, set GridViewTemplate.AllowDragToGroup to false. RadGridView.ShowGroupPanel shows/hides the group panel. You can access the group panel using RadGridView.GridElement.HeaderElement.GroupPanel property.
 
Dev ComponentsRadControls for WinFormsTelerik Windows Forms RadGridView

Source of Information :  2002-2010 Telerik. All Rights Reserved. Help
Overview of RadGridView StructureSocialTwist Tell-a-Friend
Digg Google Bookmarks reddit Mixx StumbleUpon Technorati Yahoo! Buzz DesignFloat Delicious BlinkList Furl

0 comments: on "Overview of RadGridView Structure"

Post a Comment