On 12/8/06, MW <
martinw@...> wrote:
>
> Damn - I hate that - just posed this and found a solution -
>
> removed
> - this.fTable.store.clearData();
> and replaced with
> - this.fTable.columns = [];
>
> is this correct? - or is there a method to clear the columns?
This works just fine for me: this.fTable.store.setData([]);
which may be just a tad cleaner if the columns field was not intended
to be exposed (just guessing here).
Cheers,
Joe.
_______________________________________________
Dojo FAQ:
http://dojo.jot.com/FAQDojo Book:
http://manual.dojotoolkit.org/DojoDotBookDojo-interest@...
http://dojotoolkit.org/mailman/listinfo/dojo-interest