Hi all !
I'm new at the list and a new flex coder.
I'm trying to add GridRows to a Grid using the following code:
function addFilterCondition(){
var fieldName = new ComboBox();
var operation = new TextInput();
var condition = new TextInput();
var addButton = new Button();
var removeButton = new Button();
var row = new GridRow();
row.createChild(mx.controls.ComboBox,"","");
row.createChild(mx.controls.TextInput,"","");
row.createChild(mx.controls.TextInput,"","");
row.createChild(mx.controls.Button,"","");
row.createChild(mx.controls.Button,"","");
grid.createChild(row);
grid.layoutChildren();
}
I called the function above from a "click" event of a button, but no GridRow has
been add to the Grid. Did I miss something ? Is my code right ?
Thanks in advance !
Michel.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Computer software testing | Macromedia flex | Development |
Software developer |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.