[flexcoders] setting width of datagrid column using a variable.
hi all I want to set the width of a column of a datagrid,value of the width is stored in a variable. In DataGridColumn tag if i set width=variableName, then a error occurs which says can't parse variableName. If i set width without quotes eg. width=variableName then a error occurs which says Open quote is expected for attribute width please help me out to solve this issue. Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] setting width of datagrid column using a variable.
Just set dataGridName.getColumnAt(2).width = vairableName; on creation complete of the dataGrid where 2 should be replaced by the index of the column that you wish to set width. - Sree leorajpoot wrote: hi all I want to set the width of a column of a datagrid,value of the width is stored in a variable. In DataGridColumn tag if i set width="variableName", then a error occurs which says can't parse variableName. If i set width without quotes eg. width=variableName then a error occurs which says "Open quote is expected for attribute "width"" please help me out to solve this issue. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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.
Re: [flexcoders] setting width of datagrid column using a variable.
On 11/11/05, leorajpoot [EMAIL PROTECTED] wrote: I want to set the width of a column of a datagrid,value of the width is stored in a variable. In DataGridColumn tag if i set width=variableName, then a error occurs which says can't parse variableName. If i set width without quotes eg. width=variableName then a error occurs which says Open quote is expected for attribute width You want to use binding... DataGridColumn width={variable} / Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/