When server paging is enabled, there is no easy way to find out when request ended after changing page from code. by dataSource.page(2). the page method does not return promise.
Best Regards
Marcin
1 Answer, 1 is accepted
0
Stefan
Telerik team
answered on 11 Jul 2017, 07:04 AM
Hello Marcin,
Currently, the page method returns only a number as observed.
I can suggest submitting a feature request and based on its popularity we may implement it in a future release:
Currently, the desired result can be achieved with a custom flag and the requestEnd event of the dataSource. When the method is called the flag should be changed, and in the requestEnd event a check has to be made if the flag is set to determine if the event is fired after a page change: