Hello,

I have the following code (from the playground)

---------------------------------------
qx.Class.include(qx.ui.treevirtual.TreeVirtual,
                 qx.ui.treevirtual.MNode);

// Use an HBox to hold the tree and the groupbox
var hBox = new qx.ui.container.Composite(new qx.ui.layout.HBox(20));
this.getRoot().add(hBox, { edge : 30 });

// tree
var tree = new qx.ui.treevirtual.TreeVirtual(
    [
      "Tree",
      "Permissions",
      "Last Accessed"
    ]
);

tree.set(
  {
    width  : 400
  });
tree.setAlwaysShowOpenCloseSymbol(true);


hBox.add(tree);

// tree data model
var dataModel = tree.getDataModel();

var te1 = dataModel.addBranch(null, "Desktop", true);

dataModel.setData();


/*-----*/

var tcm = tree.getTableColumnModel();
    tcm.setColumnWidth(0, 100);
    tcm.setColumnWidth(1, 10);
    tcm.setColumnWidth(2, 10);
    
-------------------------------------------------------------

And the setColumnWidth is not working. It doesn't throw any warning, nor it
resizes the column to the specified width.

Does anyone has any idea about this?

Thank you very much

--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/TreeVirtual-getTableColumnModel-setColumnWidth-Not-Working-for-me-tp6103310p6103310.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to