EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: 2plus2 on July 29, 2013, 10:39:15 PM



Title: Datagrid Pagination....Maintaining state....
Post by: 2plus2 on July 29, 2013, 10:39:15 PM
Howdy...

We want to have the datagrid maintain state, so that when a user comes back to the grid their filters, page and sort is maintained.

The problem is I don't know how to setup the pager or datagrid to notify the server that the request is coming from a button click or filter instead of just a standard page call. When the datagrid loads, it sends all the filter and pagination information as if the user clicked a button. There's not way to identify user interaction versus a page request.

The simplest way would to have a post variable added only when a button is pushed, or filter selected.

Ideas?