English 中文(简体)
dojo enhancedgrid的自由文本搜索框
原标题:free text search box for dojo enhancedgrid

是否有可能在dojo enhancedgrid上有一个免费的文本搜索框,我可以键入文本,它会立即过滤掉不包含文本的行?

我知道过滤器插件,但这不是我喜欢的。

非常感谢!

问题回答

If取决于你的网格视图绑定方式。如果它绑定到ItemFileReadStore,你可以很容易地过滤它:

  store.fetch({ query: { filterCol: filterValue }, onComplete: function completed(items,findResult) {
                    store = new dojo.data.ItemFileReadStore({ data: { items: items, identifier:  YourStoreIdentifier } });}                          
             });

grid.setQuery({name: a% }) will call server on a JsonRest store with query string name=...





相关问题
Get Dojo Radio Button Value?

I have an HTML form using dojo and have the following code for a radio button selection choice: dojo.require("dijit.form.RadioButton"); <link href="http://ajax.googleapis.com/ajax/libs/dojo/1....

is it possible to know if a dijit is displayed or not?

i have two divs on a page. each has several dijits. i have atoggle that shows only one div or the other. when i submit the form, i only want to validate the dijits that are in the div that is ...

dijit BorderContainer auto-grow

Is there a way to have a dijit.layout.BorderContainer auto-grow in height? I ve tried setting min-height: 200px; height: auto;, but it won t scale. I ve tried looking at the API, but that thing is a ...

Dojo Tabs as Custom Widgets

I ve created a number of widgets that are loaded as tab panes in a tabcontainer. Everything seems to work well, except I m getting different results when using my custom widgets vs. creating ...

What happened to Dojo DOH?

The Dojo Toolkit used to come with a testing facility called "Doh". It was in the /utils directory. Now when you download dojo-release-1.3.2 the /utils directory is nowhere to be found. Is Doh dead ...

热门标签