Good Morning
I have done a listener to fill datagrid. It works but I need to hide or make
invisible a row How can do ??
Thank you
var myListener1:Object = new Object();
myListener1.dataLoaded = function(success:Boolean, xmldata:XML) {
if (success) {
trace(xmldata);
if (comStatus == "loading") {
display.removeAllColumns();
display.columnNames = ["ONE", "TWO", "THREE","FOUR"];
display.getColumnAt(0).width = 120;
display.getColumnAt(1).width = 100;
display.getColumnAt(2).width = 115;
display.getColumnAt(3).width = 0;// it doesnt work how can I do
?
var dat:Array = new Array();
for (var i:Number = 0;
i<xmldata.firstChild.childNodes[3].childNodes.length; i++) {
dat.push({ONE:unescape(xmldata.firstChild.childNodes[3].childNodes[i].childN
odes[15].childNodes),
TWO:unescape(xmldata.firstChild.childNodes[3].childNodes[i].childNodes[3].ch
ildNodes),
THREE:unescape(xmldata.firstChild.childNodes[3].childNodes[i].childNodes[7].
childNodes),
FOUR:unescape(xmldata.firstChild.childNodes[3].childNodes[i].childNodes[5].c
hildNodes)
});
}
display.dataProvider = dat;
msg = "Data has loaded Successfully";
} else if (comStatus == "sending") {
msg = "Data Sent Successfully. You can now reload!";
}
}
};
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com