views:

24

answers:

1

I have a jqgrid and after sending those grid records to server I want to empty the grid ...I am trying with reload but its not working...i am using it under complete ...but its not empty the grid grid instead it show me the same data... how can I achieve it ...

+1  A: 

Probably clearGridData method is what you need. If you use some custom data binding to elements of the grid you will have to set deepempty:true option of jqGrid also, but typically it is not needed.

Oleg
Thanks ! clearGridData works.
paul