Hi,
I am experimenting inline editing in the virtual tree grid. The code is as
below:
[
var treeVirtual = new qx.ui.treevirtual.TreeVirtual(["Tree", "Permission",
"Accessed", "Modified"]);
treeModel.setEditable(true);
treeModel.setColumnEditable(2, true);
treeModel.setColumnEditable(3, true);
var desktop = treeModel.addBranch(null, "Desktop", true);
var qooxdoohcm = treeModel.addLeaf(desktop, "qooxdoo.hcm");
treeModel.setColumnData(qooxdoohcm, 1, "-rwxr-xr-x");
treeModel.setColumnData(qooxdoohcm, 2, "Sept 20, 09");
]
When the column "Permission" and "Accessed" are double clicked nothing
happens.
Is there something which I have missed?
One more question. I looked at class SimpleTreeDataModel. This class
overrides sortByColumn() method to indicate that sorting is not supported by
the tree grid.
Does this mean that I need to extend qx.ui.table.model.Abstract class and
implement sorting?
Thanks
Chirag
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel