For those with challenged links, here is the code. Surprisingly, if I change
the playground version from current to 2.0, it can be done. Something
changed. Again, under version 3.0, try to select row 100.
***************************************************************
// Create the initial data
var rowData = [];
for (var row = 0; row < 100; row++)
rowData.push([ row+1, (Math.random() > 0.5) ]);
// table model
var tableModel = this._tableModel = new qx.ui.table.model.Simple();
tableModel.setColumns([ "ID", "Boolean" ]);
tableModel.setData(rowData);
tableModel.setColumnEditable(1, true);
// table
var table = new qx.ui.table.Table(tableModel);
table.set({ width: 600, height: 1400, decorator : null });
var tcm = table.getTableColumnModel();
tcm.setDataCellRenderer(1, new qx.ui.table.cellrenderer.Boolean());
// tabview
var tabView = new qx.ui.tabview.TabView();
tabView.setWidth(500);
// page
var page1 = new qx.ui.tabview.Page("Layout");
page1.setLayout(new qx.ui.layout.VBox());
page1.add(new qx.ui.basic.Label("Page1"));
tabView.add(page1);
// go
page1.add(table);
var doc = this.getRoot();
doc.add(tabView, {left: 1, top: 1 });
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/AutoScroll-Issue-tp7585052p7585062.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel