On Sun, Sep 9, 2012 at 6:51 AM, franck34 <[email protected]> wrote:
> Got a table, a table model (simple) - or a smart simple table model.
>
> I load data, everything is ok.
>
> Now i'd like to clean data.
>
> What the way for that ?
>
> I've tried tableModel.setDataAsMapArray([]); without luck
>
I'm not sure why setDataAsMapArray([]) isn't working. I believe it should.
The more typical way to do it, though, is with setData([]). You don't
really care whether the data is interpreted as arrays of values or maps
containing values for each row since you're passing an empty array, so even
if you're generally using map arrays, clearing the data with setData([]) is
fine.
Derrell
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel