Refresh Button

1 posts, 0 answers
  1. Keith
    Keith avatar
    5 posts
    Member since:
    Sep 2016

    Posted 11 Oct Link to this post

    I have a refresh button that seems to work on the browser reload but not on the actual refresh button reload. It's using a standard grid. What am I missing?

                var gridRefresh =  grid.dataSource.query({
                    sort: { field: "ProductName", dir: "desc" },
                    page: 2,
                    pageSize: 20
                });
                $('a.k-pager-refresh').on('click', function (){
                    gridRefresh.data("kendoGrid").dataSource.read();
                });

Back to Top