:: Forum >>

Clear grid to original state

Hi AW

I am new to Active Widgets (AW) and trying to climb up the ropes for which I need your help/guidance.

Here is the scenario :
- I am using AW.UI.Grid
- I create a new grid initially (0 display rows, 0 data rows) and populate it with different data sets (same data format and columns) upon the press of a button. Data is stored in different Java Script arrays.
- Before I populate the grid I want to clear the grid to its original state - as if it was created fresh with no state being carried over (0 display rows, 0 data rows)

I did search the Support Forum and tried different solutions but none worked for me. May be I am not doing something right.

Your help is highly appreciated.
Jay J
Monday, August 20, 2007
Did you try clear() method?

grid.clear();

http://www.activewidgets.com/aw.system.control/clear.html
Alex (ActiveWidgets)
Monday, August 20, 2007

This topic is archived.


Back to support forum

Forum search