Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
147454 | Sep 11,2019 09:26 AM UTC | Sep 12,2019 10:58 AM UTC | Angular - EJ 2 | 1 |
![]() |
Tags: Grid |
<div class="control-section">
<button id='show' ejs-button class='e-flat' (click)='show()'> Get Current grid query </button>
<ejs-grid #grid [dataSource]='data' allowPaging='true' allowSorting="true" allowFiltering="true" [allowGrouping]="true" [groupSettings]="groupOptions" [pageSettings]='pageSettings'
height="320" (dataBound)='dataBound()' [query]='query'>
<e-columns>
...
</e-columns>
</ejs-grid>
</div> |
...
export class AppComponent {
public data: Object[];
...
show() {
console.log(this.grid.getDataModule().generateQuery());
}
} |
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.