开发者

Clearing a jQgrid

How I c开发者_Go百科an delete all value into a grid?

Thanks.


See the clearGridData method


If you plan to use clearGridData method of jqGrid you should be careful if you have additional events added to the grid elements. It could be required to use additional parameter deepempty: true in such situations.

In general you can delete jqGrid like any other elements on the page with respect of jQuery.remove function. The method clearGridData were introduced to speed up such removable in standard situations. On the other side jQuery.remove works slowly but very safe independent of any kind of manually added events.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜