Dear Friends,

I have one issue. when use the AdvancedDataGridColumnGroup in
AdvancedDataGrid.

Description:
In the AdvancedDataGridColumnGroup created renderer with (+/-) icon. when
clicking the icon hide/show the columns in the group column. function code

                         /**
 * This function shows/hides the child columns
 *
 * @param event:MouseEvent
 */
private function showHideColumn(event:MouseEvent):void
{
try
{
 var index:int;
for (index=1; index < this._columnGroup.children.length; index++)
{
if (this._columnGroup.children[index])
{
this._columnGroup.children[index].visible=this._hideFlag;
}
}
imgShowHideColumn.source=this._hideFlag ? collapseColumn : expandColumn;

this._hideFlag=!this._hideFlag;

}
catch (err:Error)
{
Alert.show(err.message + "\n" + err.getStackTrace());
}
}


I have 25 columns, but only  8 columns visible, other hidden with the
scrollbar. when click the (+/-) icon in the group column to hide/show the
child columns then throws error in the AdvancedDataGridBaseEx.as:983.

I think this issue is because of invisible columns. if i removed invisible
columns and click (+/-) then it work well. hide the sub columns and show.

can you give any suggestions for this issue.



-- 
Thanks & Regards,
(¨`•.•´¨) Always
`•.¸(¨`•.•´¨) Keep
(¨`•.•´¨)¸.•´ Smiling!!
`•.¸.•´
With Love´¨)
  ¸ •´ ¸.•*´¨)   ¸.•*¨)
(¸.•´      (¸.•*      ♥♥♥...♪♪♪..... நித்தியானந்தன் சுந்தரேசன்

(M) : +91 98400 91207

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to