Is there a click event for a grouping?
For example:
I am grouping by State then by County.
When I load the WinGrid I see:
State: WY (1 item)
State: PA (7 items)
etc.....
I want to be able to capture the click event when the user clicks on "State: PA (7 items)" and fire off another form.
Is this possible to do?
If you want to handle when the user arrows to the row, also, then you could use AfterRowActivate.
If you are only concerned with clicking, then you will need to use the MouseUp event of the grid and determine what was clicked using UIElements. Here's a KB article that describes this technique:
HOWTO:UltraWinGrid Mouse Position and Row Identification
Thanks that seems to work for a single click event. Can this be done instead with a double click?
Hi Mike,
Thought I might jump in on this and ask another similar question. Say this groupbyrow has inline summaries. If I click inside one of the summaries is there anything that might indicate which summary it is? I would like to consider adding the ability for my users to sort by a grouped summary.
Worked on this once over a year ago and didn't get it done and now everything is cold.
Thanks,
Nick