Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
144774 | May 22,2019 02:16 AM UTC | May 28,2019 01:07 PM UTC | Angular - EJ 2 | 4 |
![]() |
Tags: Grid |
this.priorityParam = {
params: {
allowFiltering: true,
dataSource:this.priorityChoices,
query: new Query(),
actionComplete: () => false
}
};
|
ngOnInit(): void {
this.data = orderDatas;
this.editSettings = { allowEditing: true, allowAdding: true, allowDeleting: true };
this.toolbar = ['Add', 'Edit', 'Delete', 'Update', 'Cancel'];
this.countryParams = {
params: {
allowFiltering: true,
dataSource: new DataManager(this.country),
fields: { text: 'countryName', value: 'countryName' },
query: new Query(),
actionBegin: onbegin,
actionComplete: () => false
}
};
}
}
function onbegin(args){
args.query.queries = []; // modify the query
}
|
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.