Search code examples
dojodojo.gridx

Dojo gridx filter: multiple calls made to server onkeypress while using gridx filter


A call goes to server every time i type a key in 'Value' field for filtering. The call should go only when I type on filter button.
Note: The grid store is a JSON rest store.

Is there any solution to prevent those api call on every keypress? It should only call the api when i press Filter button


Solution

  • With latest versions of dojo and gridx: Setting the autoComplete property to false for the columns, stopped this behavior.

    Use property: autoComplete: false for the columns