Hi,
I'm trying to run the default filter in my application. I use DataManager with UrlAdaptor to get data. When I reload the page, I will not be sent POST parameters with the name of the column I want to sort, even if I have set sortSettings. After clicking on the column header, the parameters are sent correctly
<ejs-grid [dataSource]="conferences"
[allowSorting]="true" [sortSettings]="sortSettings"
[allowFiltering]="true"
[allowPaging]="true">
</ejs-grid>
public conferences: DataManager;
public sortSettings: SortSettingsModel = {columns: [{field: 'id', direction: 'Ascending'}]};
constructor() {
}
ngOnInit(): void {
this.conferences = new DataManager({
url: 'model/conference/getMyConferences',
adaptor: new UrlAdaptor()
});
}
After init
After click on header column: