开发者

Is there a way to implement ajax search with dojo data grid component?

I am using dojox.grid.DataGrid and dojo.data.ItemFileWriteStore to render a grid. I want to implement a record search. Is there any way to do this?

After loading the page someone can search through the 'search form' above the grid. when the search button is pressed it will refresh/reload the grid data ret开发者_JAVA百科urned from the server according to the form values.

Please check the illustration.

Is there a way to implement ajax search with dojo data grid component?


You need to apply the filter() method on the DataGrid instance. Here you'll find the exact answer to your problem: http://dojotoolkit.org/reference-guide/dojox/grid/DataGrid.html#filtering-data

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜