google-code-export / gwt-ext-ux

Automatically exported from code.google.com/p/gwt-ext-ux
1 stars 3 forks source link

Set field value in GridSearch #49

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I noticed there is a method to get the search field value in the
GridSearchPlugin, I think it would be useful to have also a method to set
that value externally.

The code could be:
public native void setSearchValue(String value) /*-{
    var plugin = this.@com.gwtext.client.core.JsObject::getJsObj()();
    if (plugin.field)
        plugin.field.setValue(value);
}-*/;

Original issue reported on code.google.com by p.simona...@gmail.com on 19 Nov 2008 at 10:11