Re: [qooxdoo-devel] Unable to clear data from Simple Table

2009-06-26 Thread Kanugula
It worked! Thank you Jim. Jim Hunter wrote: > > Don't pass in null if there is no data, pass in an empty array. > this.getTable().getTableModel().setDataAsMapArray([]); > > that will clear the data. > > Jim > > > > On Fri, Jun 26, 2009 at 10:09 AM, Kanugula > wrote: > >> >> Hi there, >>

Re: [qooxdoo-devel] Unable to clear data from Simple Table

2009-06-26 Thread Jim Hunter
Don't pass in null if there is no data, pass in an empty array. this.getTable().getTableModel().setDataAsMapArray([]); that will clear the data. Jim On Fri, Jun 26, 2009 at 10:09 AM, Kanugula wrote: > > Hi there, > > qooxdoo 0.7.3 > IE 6, FF3 > > I have the following code for a qx.ui.table.mo

[qooxdoo-devel] Unable to clear data from Simple Table

2009-06-26 Thread Kanugula
Hi there, qooxdoo 0.7.3 IE 6, FF3 I have the following code for a qx.ui.table.model.Simple implementation. this.getTable().getTableModel().setDataAsMapArray(result); //result is null in case of no data. I refresh the data using a qooxdoo button which calls the above code. Whenever there is no