Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
145146 | Jun 10,2019 07:05 AM UTC | Jun 28,2019 08:50 AM UTC | React - EJ 2 | 5 |
![]() |
Tags: Grid |
export class Hierarchy extends SampleBase {
constructor() {
this.childGrid = {
dataSource: hierarchyOrderdata,
queryString: 'EmployeeID',
editSettings:{allowEditing:true,allowDeleting:true},
columns: [
{field:"Verified",type:"boolean",displayAsCheckBox:true,width:150,editType:"booleanedit"},
{ field: 'OrderID', headerText: 'Order ID', isPrimaryKey:true,textAlign: 'Right', width: 120 },
. . .
]
};
}
render() {
return (<div className='control-pane'>
<div className='control-section'>
<GridComponent dataSource={employeeData} childGrid={this.childGrid} >
<ColumnsDirective>
. . .
</ColumnsDirective>
<Inject services={[Edit, DetailRow ,Toolbar, Page]}/>
</GridComponent>
</div>
</div>);
}
}
render(<Hierarchy />, document.getElementById('sample')); |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.