I have a requirement to display additional details as a child row when the parent row is expanded in Infragistics UltraWinGrid. But details will not be displayed in a grid kind structure instead it should be property - value type structure in a panel. How this functionality can be achieved?
Thanks,
Pooja
Hi Pooja,
I don't understand what you mean. Can you post a screen shot of what you want, or explain in more detail?
Hi Mike,
Thanks for your response. Please refer following screenshot for details. On click on any row within UltraWinGrid, i have to display some relevant detailed content below the row area. I have achieved similar behavior by adding TextUIElement in the RowPreviewArea and makin PreviewArea visible on click of respective row. But in that situation, i have no control to style text like making it bold. Probably there should be a better way to achieve this behavior.
Thanks Mike for your help. I will try suggested technique to get bold text.
The grid doesn't have any buildin support for something like this, but there are a number of ways you could do it.
You could use the same PreviewArea technique you are already using. You could use more than one TextUIElement so that some could be bold and others not.
You can get the text to be bold in a couple of different ways. One would be to use a DrawFilter in addition to the CreationFilter. You could trap for the BeforeDrawForeGround of your TextUIElements and just set the drawParams.AppearanceData.FontData.Bold.
The other option would be to derive a class from TextUIElement and override the InitAppearance method and do the same thing on the AppearanceData.