-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add custom kb nav sample for treegrid. (#258)
* Add custom kb nav sample for treegrid. * Re-use grid keydown handler and make the blazor one more agnostic.
- Loading branch information
1 parent
0a3afb4
commit 725bb0f
Showing
2 changed files
with
59 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ | ||
"export": true, | ||
"skipAlterDataCasing": true, | ||
"descriptions": { | ||
"content": { | ||
"type": "WebTreeGrid", | ||
"name": "treeGrid", | ||
"id": "treeGrid", | ||
"dataRef": "EmployeesNestedData", | ||
"childDataKey": "Employees", | ||
"autoGenerate": false, | ||
"rowSelection": "Multiple", | ||
"moving": true, | ||
"allowFiltering": true, | ||
"gridKeydownRef": "WebGridCustomKBNav", | ||
"paginationComponents": [ | ||
{ | ||
"type": "WebPaginator", | ||
"perPage": 15 | ||
} | ||
], | ||
"columns": [ | ||
{ | ||
"type": "WebColumn", | ||
"field": "Name", | ||
"header": "Name", | ||
"dataType": "String", | ||
"sortable": true, | ||
"editable": true, | ||
"resizable": true | ||
}, | ||
{ | ||
"type": "WebColumn", | ||
"field": "HireDate", | ||
"header": "Hire Date", | ||
"dataType": "Date", | ||
"sortable": true, | ||
"editable": true, | ||
"resizable": true | ||
}, | ||
{ | ||
"type": "WebColumn", | ||
"field": "Age", | ||
"header": "Age", | ||
"dataType": "Number", | ||
"sortable": true, | ||
"editable": true, | ||
"resizable": true | ||
} | ||
] | ||
} | ||
}, | ||
"modules": [ | ||
"withDescriptions", | ||
"layouts/PropertyEditorPanelModule", | ||
"grids/WebTreeGridModule" | ||
] | ||
} |