finaly setData([]); is working for me.

I was recreating table model each time i add new rows ... silly. Thanks
mustafa

On Wed, Sep 12, 2012 at 10:11 AM, Mustafa Sak <[email protected]> wrote:

> Nice solution, but ist easier to use tableModel.setData([]);
>
> Regards Mustafa
>
> -----Ursprüngliche Nachricht-----
> Von: csfahey [mailto:[email protected]]
> Gesendet: Dienstag, 11. September 2012 19:18
> An: [email protected]
> Betreff: Re: [qooxdoo-devel] Clear a tableModel ?
>
>
> // Here is how I do it.  Given.
> var model = new qx.ui.table.model.Simple( ); var table = new
> qx.ui.table.Table( model ); // This clears it.
> model.removeRows( 0, model.getRowCount() );
>
>
>
> --
> View this message in context:
> http://qooxdoo.678.n2.nabble.com/Clear-a-tableModel-tp7581283p7581321.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> 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
>
>
> ------------------------------------------------------------------------------
> 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
>
------------------------------------------------------------------------------
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

Reply via email to