Hi gurus,
I've got an AdvancedDataGrid that is grouped by a single
GroupingColumn. One of the columns is using an external itemrenderer
that contains radio buttons.
The grid looks like this:
Name Day
Performance
Tom
Monday o o o
o o
Tuesday o o o
o o
Jane
Monday o o o
o o
Tuesday o o o
o o
>From the itemrenderer, I would like to check if the current row is
just a grouping, and if so, remove the radio buttons as shown.
I can't figure out what condition to use to check if the grid row is a
grouped row or not.
I tried:
if (data == null)
{
hideButtons();
}
else
{
if (data.performance == null)
{
hideButtons();
}
else
{
addButtons();
}
}
This works great the first time my grid loads. But when my data source
gets updated and I refresh the GroupingCollection, the new rows don't
get the radio buttons (even though value of performance is not null).
How can I do this?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---