Hi List,

In 0.7.3, I had a treevirtual control with a couple of editable
columns.  I just got around to testing that part of the app in 0.8
(and 0.8.1), and the editable columns aren't editable any longer.
Using the playground, I set up this sample:

*********** START SAMPLE **************
var tv = new qx.ui.treevirtual.TreeVirtual([
  "Column 1",
  "Column 2"
  ]);
tv.setWidth(400);
tv.setHeight(300);
tv.setSelectionMode(qx.ui.treevirtual.TreeVirtual.SelectionMode.SINGLE);
tv.getDataModel().setColumnEditable(1, true);

var dm = tv.getDataModel();
var root = dm.addBranch(null, "Root", true);
for (var i=0; i<3; i++)
{
  var b = dm.addBranch(root, "Branch_"+i, true);
  for (var j=0; j<3; j++)
  {
    var l = dm.addLeaf(b, "Leaf_"+i+"_"+j);
    dm.setColumnData(l, 1, "value_"+i+"_"+j);
  }
}
dm.setData();
this.getRoot().add(tv);
***************** END SAMPLE *************

In 0.7.3, setting the second column as editable was enough to trigger
editing when the user selected the row, then double-clicked in the
cell.  In 0.8, no amount of clicking triggers editing.  I plugged this
sample code into a 0.7.3 skeleton just to be sure, and it does work.
Is there more work required in 0.8, like listening for a cellClick and
explicitly calling the startEditing() method?  A quick attempt at that
failed.  I also tried cellrenderers other than the default treevirtual
cellrenderer.  I'm feeling wedged.

This has only been tested against FireFox 2.  Any advice would be appreciated.

Thanks,
Pat

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to