Hi

When I simply use a single field for the labelPath everything works just 
fine.  I now need to know how to combine several fields for the label 
Path.  I created a converter function which I hoped would combine the 
"ACCTNO" and "ID1" fields as the test to show in the list's label. 
However I am having trouble knowing how to reference other fields in the 
model from the converter.  model.ARMaster["ID1"] does not work because 
model is not defined.  Can someone tell me the correct syntax?

this.__navView.__lstView.setLabelPath("ACCTNO")

this.__navView.__lstView.setLabelOptions({converter: function(data) 
{return data+' '+model.ARMaster["ID1"];}});
 
this.__dbfARMaster.bind("model.ARMaster",this.__navView.__lstView,"model");

Thanks,
Simon


------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to