Hallo!
How can I expand a Ultrawingrid group on runtime?
I have got a Wingrid with one band, grouped by month name ("01- January", "02 - February", ...). The groups are generally not expanded when I open the form. I want to expand the group of the actual month when I open the form.
select case month(now.date)
case 1
'expand group of "01 - January"
...
end select
What is the code for expanding?
Thank you.
UltraGridRow exposes an Expanded property, which you can set to true to expand the row (UltraGridGroupByRow derives from UltraGridRow) You can handle the InitializeGroupByRow event and use that event as a trigger for expanding the GroupBy row.
Hallo, Brian!
Thank you for your answer. But I haven't really understood.
Maybe you could give me a code example.
Thank you
Marco