Skip to content

Commit

Permalink
Merge pull request #264 from IgniteUI/ibarakov/tgrid-cell-editing
Browse files Browse the repository at this point in the history
Add missing tgrid cell editing sample
  • Loading branch information
dkamburov authored Dec 8, 2023
2 parents 9160ee2 + b9bece9 commit b39c873
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions samples/grids/tree-grid/cell-editing-sample.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"export": true,
"skipAlterDataCasing": true,
"descriptions": {
"content": {
"type": "WebTreeGrid",
"id": "treeGrid",
"name": "treeGrid",
"dataRef": "OrdersTreeData",
"autoGenerate": false,
"primaryKey": "ID",
"foreignKey": "ParentID",
"columns": [
{
"type": "WebColumn",
"field": "Name",
"dataType": "String"
},
{
"type": "WebColumn",
"field": "Category",
"dataType": "String",
"editable": true,
"inlineEditorTemplateRef": "WebTreeGridCellEditCellTemplate"
},
{
"type": "WebColumn",
"field": "Units",
"dataType": "Number",
"editable": true
},
{
"type": "WebColumn",
"field": "UnitPrice",
"header": "Unit Price",
"dataType": "Number",
"editable": true
},
{
"type": "WebColumn",
"field": "OrderDate",
"header": "Order Date",
"dataType": "Date",
"editable": true
},
{
"type": "WebColumn",
"field": "Delivered",
"dataType": "Boolean",
"editable": true
}
]
}
},
"modules": [
"withDescriptions",
"grids/WebTreeGridModule",
"webinputs/WebSelectModule"
]
}

0 comments on commit b39c873

Please sign in to comment.