Login Register

Parameters

Refreshing grid with a new selection of data from the server

Hi,

I am trying to do the following:

  1. Display an empty grid
  2. Let the user enter some selection criteria and then retrieve data from the server and populate the grid
  3. User can then enter new selection criteria and re-submit it.

Problem I am having is that I cannot find how to send the revised selection criteria to the server. Code behind my 'onClick' handler for the search button is:

currentModel = new dojox.grid.data.DojoData(null, null, {rowsPerPage: 20, store: custStore, query: {CustomerId: '*'}, clientSort: false});

Syndicate content