Hi,
First of all, thanks for making the plugin available, I've just used recently in my project.
I found the need to be able to submit the filter values in a single field, and I believe a couple of other people expressed similar earlier in the thread, and I made this change allowing for the filter values to be packaged into a single Json object (optional), instead of separate filter fields - thought it may be useful to others. I haven't fully tested to see what happens when the field is disabled, but it seems to work for me, so here it is the diff for it.
Code:
130a131,136> * @cfg {String} submitSingleObject
> * If specified, submits filter values under this one parameter name (Json encoded), instead of separate parameters (default behavior).
> */
> submitSingleObject: null,
>
> /**
682c688,690
< this.grid.store.baseParams[el.filterName] = sValue;
---
> if (!Ext.isString(this.submitSingleObject))
> this.grid.store.baseParams[el.filterName] = sValue;
>
718a727
>
721a731,736
>
> // Single JSON object...
> if (Ext.isString(this.submitSingleObject))
> slp[this.submitSingleObject] = Ext.encode(this.filters);
>
> // Reload store...
I'm still looking for a way to re-focus the last filter field after the store reload (masked), using the search triggerd by ENTER key...