Hi Martin,

try this in playground:

var doc = this.getRoot();

var mo = new qx.ui.table.model.Simple();

mo.setColumns(["a","b","c"]);
mo.setData([[1,2], [3,4], [5,6, 7], [11, 12, 13]]);

var ta = new qx.ui.table.Table(mo);

ta.getSelectionModel().setSelectionMode(4);
doc.add(ta, {left: 50, top: 80});

ta.getSelectionModel().addSelectionInterval(0,1);
ta.getSelectionModel().addSelectionInterval(3,3);

HTH, good luck,

Stefan

Martin_GER wrote:
> Hello,
> 
> how can I automatically mark multiple rows in a table. I want after
> "setData", that some but not all rows are selected -> like toogle selection.
> 
> I build the table with "new qx.ui.table.model.Simple()"
> 
> Thanks,
> Martin

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to