Modules in Angular TreeGrid component
4 Sep 20252 minutes to read
The following value providers should be injected to extend TreeGrid functionality:
Module | Description |
---|---|
PageService |
Inject to enable paging features. |
SortService |
Inject to enable sorting features. |
FilterService |
Inject to enable filtering features. |
EditService |
Inject to enable editing features. |
AggregateService |
Inject to enable aggregate features. |
ColumnMenuService |
Inject to enable the column menu feature. |
CommandColumnService |
Inject to enable command column features. |
ContextMenuService |
Inject to enable context menu features. |
ResizeService |
Inject to enable column resizing features. |
ReorderService |
Inject to enable column reordering features. |
PrintService |
Inject to enable printing features (default injected). |
ToolbarService |
Inject to enable toolbar features. |
ExcelExportService |
Inject to enable Excel export features. |
PdfExportService |
Inject to enable PDF export features. |
RowDDService |
Inject to enable row drag-and-drop and indent features. |
These modules should be injected into the providers
section of the root NgModule
or the component class.
The data module can be accessed using the
getDataModule
method in TreeGrid.
For an overview of features, visit the Angular TreeGrid feature tour. See the Angular TreeGrid example to explore data presentation and capabilities.