Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
145346 | Jun 18,2019 09:50 AM UTC | Jul 18,2019 09:30 AM UTC | Angular - EJ 2 | 3 |
![]() |
Tags: Grid |
<ejs-grid #batchgrid id='Batchgrid' [dataSource]='data' (beforeBatchSave)='beforeBatchSave($event)' (batchDelete)='beforeBatchDelete($event)' (batchCancel)='batchCancel($event)' allowPaging='true' [pageSettings]='pageSettings' [editSettings]='editSettings' [toolbar]='toolbar'>
<e-columns>
. . . . . . . . .
</e-columns>
</ejs-grid>
|
beforeBatchDelete(args){
// you can get the total deleted record count here
console.log(this.grid.editModule.editModule.getBatchChanges().deletedRecords.length)
}
batchCancel(args){
// reset the value here
console.log('cancel')
}
|
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.