I am not concerned about the data in the row. All I want is to delete the row 
from the table. For that I am passing the row Index. Are there any issues if I 
delete the rows as mentioned above?

Thanks,
Robust

2009/3/26 Jim Hunter <[email protected]>

> You are accessing a private member of the class to delete the rows
> (__rows), I would suggest using getData() on the tableModel and manipulating
> things that way. I wasn't sure if there might be some setters/getters that
> you were bypassing going directly to the array. But since your issue is
> solved, then you are set.


Uhhhh.... No. that'll work only the "source" version. As soon as you create
the "build" version with its optimizations, you won't have access to that
private member. Aside from that, there's no guarantee that we'll continue to
use a private variable called __rows, and if we change it, your code will
break. You must use getData() to access the model data.

Cheers,

Derrell

------------------------------------------------------------------------------

_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



-- 
View this message in context: 
http://n2.nabble.com/Removing-rows-from-a-table-tp2528366p2539270.html
Sent from the qooxdoo mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to