setData in 2.0?
when will setData be ready in 2.0?
and is there a method to pull this same action off using getNode(col,row).[setSomeDOMhere]
???
HoseHead
November 22,
as usual I posted something then figured it out right after posting.
table2.getNode(column, row).textContent
HoseHead
November 22,
in IE you should still use .text -
table.setData = function(value, col, row){
var node = this.getNode(col, row);
if (AW.ie) {
node.text = value;
}
else {
node.textContent = value;
}
}
plus you need actually call setCellData when you want to save changes -
obj.onCellValidated = function(text, col, row){
var format = this.getCellFormat(col, row);
var data = format ? format.textToData(text): text;
this.setCellData(data, col, row);
this.setCellText(undefined, col, row);
}
Alex (ActiveWidgets)
November 22,
ah so thats last part is why it keeps running changing my stuff back to the original values.
Thanks Alex..
HoseHead
November 23,