Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
147569 | Sep 17,2019 02:29 AM UTC | Sep 19,2019 06:02 AM UTC | React - EJ 2 | 5 |
![]() |
Tags: Grid |
export class CheckboxSelection extends SampleBase {
constructor() {
super(...arguments);
this.selectionsettings = { mode: "Row", type: "Multiple" };
}
render() {
return (<div className='control-pane'>
<GridComponent dataSource={data} ref={grid => this.gridInstance = grid} allowPaging={true} selectionSettings={this.selectionsettings} allowSorting={true} allowFiltering={true}>
<ColumnsDirective>
<ColumnDirective type='checkbox' width='50'></ColumnDirective>
<ColumnDirective field='OrderID' isPrimaryKey={true} headerText='Order ID' width='120' textAlign="Right"></ColumnDirective>
. . .
</ColumnsDirective>
<Inject services={[Page, Sort, Filter]} />
</GridComponent>
</div>
</div>);
}
}
render(<CheckboxSelection />, 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.