In This Topic
FlexGrid offers several advanced data visualization features that are beyond simple grids. These features are listed below:
- Flexible data binding
FlexGrid can be used in bound mode, where it displays data from a data source, or in unbound mode, where the grid itself manages the data.
- Advanced grid features
FlexGrid supports advanced grid features including cell merging, data filtering, sorting, editing, aggregation etc. You can merge contiguous, like-valued cells to make the data span across multiple cell; calculate totals averages, and other statistics for ranges of cells; and apply filters to each column on the grid.
- Hierarchical styles
FlexGrid summarizes data in hierarchical style like a tree. Each record can be expanded or collapsed to expose details in child grids.
- Integrated printing support
FlexGrid supports integrated printing wherein it has control over paper orientation, margins, and footer text. With a rich object model, the control provides varied printing events to handle page breaks, add repeating header rows, or add custom elements to each page. You can also show a dialog to let users select and set up the printer.
- Advanced grouping and filtering feature
FlexGrid supports grouping as a UI feature through a separate control, FlexGridGroupPanel, available as a separate assembly. Similarly, the control comes with FlexGridFilter component, which provides ad-hoc filtering and is shipped separately to achieve lower footprint.
- Custom cells
FlexGrid supports significant customization in the grid through custom cells. The control provides CellFactory class and built-in CellTemplate and CellEditingTemplate to customize visual elements.
- Row details
FlexGrid provides the flexibility to show row details in a data template, which can be used to display text, images as well as data bound controls.
- Freezing and Pinning
This feature allows you to freeze the rows and columns using mouse drag during runtime. A column or multiple columns can be pinned to the left-hand side of the FlexGrid. Column Pinning in FlexGrid allows the you to lock column in a particular column order, this will allow you to see it while horizontally scrolling the Grid.
See Also