Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
143801 | Apr 5,2019 07:21 AM UTC | Apr 5,2019 10:27 AM UTC | Angular - EJ 2 | 3 |
![]() |
Tags: Grid |
@Component({
selector: 'app-root',
templateUrl: ' <ejs-grid #grid [dataSource]='data' allowPaging='true' [allowSelection]="true" [editSettings]='editSettings' (rowSelecting)='rowSelecting($event)'>
<e-columns>
<e-column type='checkbox' width='50'></e-column>
. . .
</e-columns>
</ejs-grid> ',
})
export class AppComponent {
. . .
rowSelecting(e){
if(this.grid.getSelectedRecords().length){
this.grid.clearSelection();
}
}
} |
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.