You could try programmatically removing the column and then adding it back in when you needed it using the removeColumnAt()/addColumnAt() methods? Just keep a reference to the removed column for when you need to add it back in later.
-deepa
-----Original Message-----
Tried that, it won’t shrink below the data size in the actual column. Is there a way to force it to go to width 0, or another way to hide it besides visible=false?
_________________________________________ Jonathan Miranda Flexible Master of the Web "In the game of chess, it's important to never let your opponent see your pieces."
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Philippe Maegerman
maybe you can try to set the column width to 0 instead of hiding it.
Philippe
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Jonathan Miranda I found a bug with something in
Flex2…where do these kind of things need to be reported? The
problem…
myDataGrid.getColumnAt(2).visible = false;
I’d assume it would hide the
column with the cellRenderer, which it does – but the cellRenderer moves
to the 4th column! Unhiding the column with a visible = true returns
everything back to normal. _________________________________________ Jonathan Miranda Flexible Master of the Web "In the game of chess, it's important to never let your opponent see your pieces." ------------------------------------------------------------------ This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited. We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus. |