kartik-v / yii2-builder

Build forms (single or tabular) easily for Yii Framework 2.0.
http://demos.krajee.com/builder
Other
100 stars 50 forks source link

DynaGrid::widget pjax search on keypress #114

Closed globian closed 8 years ago

globian commented 8 years ago

I can tell it more precisely, I have table with 12 columns, when user created a search and enters into each column of the search query, the query takes about 2-3 seconds (if i have large database with lots of data, many many rows) when our user input in each column and then press ENTER to enter, it takes 2 seconds. Only in the case with each send (default behaviour in your DynaGrid) takes 5 * 3 = 15 seconds, which is unfortunately not optimal, how can I adjust grid, thus reacts only on Enter key? It would be great you would have realized this behaviour from widget as option in widget.

How can I adjust DynaGrid search on keypress?