Hierarchical Child Grid DropDown change Value not assign to grid['currentViewData'].. Anyone can Help?
[
{
"sbu": "002",
"plant": "NARA",
"section": "A",
"policy": "Policy_001_30_August_2021_V000",
"details": [
{
"policy": "Policy_001_30_August_2021_V000",
"workCenter": "WC 1A",
"section": "A",
"plant": "NARA"
},
{
"policy": "Policy_001_30_August_2021_V000",
"workCenter": "WC 2A",
"section": "A",
"plant": "NARA"
}
]
},
{
"sbu": "002",
"plant": "NARA",
"section": "B",
"policy": "Policy_001_30_August_2021_V000",
"details": [
{
"policy": "Policy_001_30_August_2021_V000",
"workCenter": "WC 2B",
"section": "B",
"plant": "NARA"
},
{
"policy": "Policy_001_30_August_2021_V000",
"workCenter": "WC 3B",
"section": "B",
"plant": "NARA"
},
{
"policy": "Policy_001_30_August_2021_V000",
"workCenter": "WC 1B",
"section": "B",
"plant": "NARA"
}
]
}
]
|
this.childGrid = {
dataSource: orderDatas,
queryString: 'EmployeeID',
toolbar: ['Add', 'Edit', 'Delete', 'Update', 'Cancel'],
editSettings: { allowEditing: true, allowAdding: true, allowDeleting: true, mode: 'Normal' },
allowPaging: true,
pageSettings: {pageSize: 6, pageCount: 5},
columns: [
{ field: 'OrderID', isPrimaryKey: true, headerText: 'Order ID', textAlign: 'Right', width: 120 },
{ field: 'ShipCity', headerText: 'Ship City',editType: 'dropdownedit', width: 120, edit: { params: { allowFiltering: true } }},
{ field: 'Freight', headerText: 'Freight', width: 120 },
{ field: 'ShipName', headerText: 'Ship Name', width: 150 }
]
};
|