Hi,
I managed a work-around today. I finally realized that the row was being
removed from the model, even though the exception was being raised. So, I
put the removeRows command in a try-catch and ignore the exception. I
don't like doing this - because it could cause other problems, but that's
my solution for now.
Regards,
Dvora
From: Tristan Koch <tristan.k...@1und1.de>
To: qooxdoo Development <qooxdoo-devel@lists.sourceforge.net>
Date: 04/04/2012 14:35
Subject: Re: [qooxdoo-devel] Problem with removeRows command in
Simple table model
Hi Debora,
so in other words tableModel.getData().length is greater than
index_of_row_selected?
index_of_row_selected is positive?
Regards
Tristan
Am 02.04.2012 um 09:52 schrieb Debora Lopez:
> Hi,
>
> I'm working with Simple table model. I have a delete button. When the
user presses delete, I want to remove the row selected from the model.
> My command for this is:
>
> tableModel.removeRows(index_of_row_selected,1);
>
> I keep getting messages like this one:
> this.__rowArr out of bounds: 11 (0..11)
> where the 11 is the number of rows in the table.
>
> index_of_row_selected is less than the number of rows in the table.
>
> Anybody have any suggestions?
> TIA.
>
> Dvora Lopez
------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
>
http://p.sf.net/sfu/sfd2d-msazure_______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel