This is a migrated thread and some comments may be shown as answers.

Refresh Button

0 Answers 144 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Keith
Top achievements
Rank 1
Keith asked on 11 Oct 2016, 01:23 PM

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();
            });

No answers yet. Maybe you can help?

Tags
Editor
Asked by
Keith
Top achievements
Rank 1
Share this question
or