Page 1 of 1

How to clear a Listview/Grid

Posted: Sun Jan 13, 2013 12:50 am
by Renjith V

I am binding a grid view to a REST output. This dynamically adds entries to the grid. I would like to clear the grid when I click a button. Tried searching the jquery mobile docs, wasn't able to figure out.

I have the same question for a Listview also.


How to clear a Listview/Grid

Posted: Sun Jan 13, 2013 1:06 am
by maxkatz

http://stackoverflow.com/questions/46..., or you might also find other ways to do it.

As for table, you will need to replace the existing table with an empty one.