Ok I did it:

create a columnStretch event handler which uses this function:

        public function setWidth(event){
                myGrid.getColumnAt(event.columnIndex).width = 
myGrid2.getColumnAt(event.columnIndex).width ;
        }

Needs some logic to make it work both ways but it's nearly there.

Iain

--- In [email protected], "digital_eyezed" 
<[EMAIL PROTECTED]> wrote:
> Hi,
> 
> How do I make the column of one datarid equal in width to that of 
a 
> different datagrid?
> 
> So if a user stretches a column on one datagrid, the same column 
on 
> the second datagrid also resizes to the same width dynamically.
> 
> Thanks in advance.
> 
> Iain




------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hn4m9km/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122854257/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</a>.</font>
--------------------------------------------------------------------~-> 

--
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/
 


Reply via email to