On Fri, Mar 19, 2010 at 11:35, hkalyoncu <[email protected]> wrote:
>
> hello
> lets say i want to remove all selected rows from a table. i managed to get
> all selected rows to an array named "selection". then how can i remove
> these
> selected rows from tableModel?
> do i have to call table.tableModel.removeRows() for each array element. is
> there any other way?
>
Selections for a table are handled by the selection manager (which you can
retrieve with table.getSelectionManager()) and selection model (retrieved
with table.getSelectionModel()). The API documentation to review is
qx.ui.table.selection.Manager and qx.ui.table.selection.Model.
In this case, I believe you simply want to call:
table.getSelectionModel().resetSelection();
Cheers,
Derrell
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel