|
|
        This section defines terms and concepts used in the scope of RadGridView you have to get familiar with prior to continue reading this help. RadGridView is an essential user interface control used to display data in tabular format. The represented data is organized in rows and columns and can be additionally sorted, filtered or structured in groups and sub-groups. Below you can see snapshots and explanations of the main visual elements of the standard RadGridView control organized in logical groups. RadGridView Visual Structure
- Columns - essential building block of the RadGridView control, represented by the base class GridViewColumn. There is a lot of functionality coming out-of-the-box for the grid columns. They can be data bound, frozen, reordered, hidden, renamed or auto generated based on the underlying data source. Moreover you can sort, filter or group your data by one or more of the grid columns. You can customize their look and feel in numerous ways. Read more
- Rows - another essential building block of the RadGridView control, represented by the GridViewRow object. Improve the way your data is presented using Row Details inside the grid or outside it using Details Presenter. Moreover you can control the data editing using the methods and events exposed by the GridViewRow object. Read more
- Cells - cells are the visual elements that do the actual representation of your data. They are represented by the GridViewCell object. They are also responsible for validating the data entered by the user against the underlying data type.
- Header Row - this is a special row where all column headers are displayed. It is represented by the GridViewHeaderRow object.
- Row Indicators - each row in RadGridView has its own row indicator, placed on its left end. Small black arrow inside the row indicator marks the current item. You can show/hide the row indicators for the whole grid or customize the way they look. Read more
- Sorting Indicator - a small arrow marks the column by which your data has been sorted. This triangle is placed inside the columns header, right after the column name and it is pointing upwards or downwards depending on the type of sort - ascending or descending. To sort your grid content by certain column just click its header and the data will be reordered automatically. You can change the sorting order of a column by just clicking on its header. There are three possible states that are sequently changed - ascending, descending and none. Read more
- Column Footers - the column footers are used to display the results of aggregate functions, such as Sum, Count, Min, Max, Average, etc . You can also customize the column footers and place any kind of controls inside them. Read more
- Frozen Columns Splitter - using the frozen columns splitter you can stop your columns from horizontal scrolling. Just drag and drop the splitter to your right or left and freeze/unfreeze the columns you like. It is represented by the FrozenColumnsSplitter object. Read more
- Scroll bars - RadGridView will automatically show and hide scrollbars when needed. Choose between two types of scrolling: Real time and Deferred. Every hierarchical level has its own scrollbars.
- Grid Lines - grid lines are the markers that separate grid's visual elements from each other. You can easily control the way your grid lines are visualized. Read more
Row Details Visual Structure
Each grid row is capable of presenting additional information by means of a Row Details template. The Row Details template is a DataTemplate defined on the grid- or row-level and is used for displaying row data without affecting the dimensions of the row and the cells within it. One of the advantages of using a Row Details template is that it can be displayed for the selected row only, thus providing a more compact layout. Another benefit of Row Details is the option of placing the Details Presenter outside RadGridView, which provides more room for traditional rows without depriving the user of the additional information. Read more Filtering Visual Structure
- Filter Icon - you can see the filter icon placed inside the column header of each column that allows filtering.
- Filtering Dialog - clicking the filtering icon in the column headers opens a menu with the distinct values for the current column and the user can select which of those values to be displayed. The user can enter a filter criterion in the filter box. A drop-down list allows the user to select a filter expression that is applied to the criterion for the column. When the user presses the "Filter" button, the grid displays only the records that match the filter criteria specified using the filter boxes. Using this functionality you can filter your data by multiple columns. You can easily disable this functionality by setting the IsFilterable property of the GridViewColumn to False. Read more
- Distinct Filter Values - each filtering dialog automatically displays a list with all of the distinct values in a certain column. This allows you to create filters with just a few clicks of your mouse.
Grouping Visual Structure
- Group Panel - the grouping panel is placed right above the RadGridView control and it displays the columns by which your grid has been grouped. To group the grid just drag and drop the needed columns in the grouping area. To remove the grouping by certain column just click the x button of the appropriate column in the grouping panel. Read more
- Group Panel Item - represents the column, by which the RadGridView is being grouped.
- Group Row - this is the UI element that hosts and displays group records, represented by the GridViewGroupRow object. GridViewGroupRow allows expanding and collapsing the records in the group.
- Group Expander - using this button, you can expand/collapse the groups in your RadGridView.
- Group Aggregates - when grouping, the aggregate values are calculated taking into account every data item in the group.
- Group Footer - you can display any kind of information inside the group footer.
- Indent Cell - the GridViewIndentCell appears when the grid data is grouped or has hierarchical structure, to facilitate the expand/collapse functionality. The expand cell is always placed in front of all other grid content columns and cannot be moved.
Read more about grouping
|