William Wino
William Wino

Reputation: 3819

Dojo EnhancedGrid & Store : Why isn't the options.count set when the filter is on?

I use dojox/grid/EnhancedGrid. When the table calls the query() method from the store while filtering, the options.count is unset. Is there any reason behind this behaviour? I want to still be able to limit the result while filtering.

Upvotes: 4

Views: 165

Answers (1)

William Wino
William Wino

Reputation: 3819

Turns out I need to turn isServerSide: true for this to work properly. Because otherwise Dojo will try to filter out the result on the client side and it requests all the data available instead which is why the options.count isn't set.

My reference : dojox.grid.EnhancedGrid.plugins.Filter

Upvotes: 2

Related Questions