Hello,
I have a columnchooser control working as I expect on an UltraWinGrid, but want to see the "official" way of capturing the event of when a user clicks a checkbox in the columnchooser. I want to capture this event and do some processing with the selection they have made.
What is the best way to accomplish this?
Thanks!
Excellent! Thank you. I will try this and let you know if I have further questions.
Hi Mike,
Thanks a lot.I had missed this important point.
regards,
ravi.
Hi,
It's not tricky at all. The event args tell you what action is taking place. Check e.PosChanged and it will tell you if a column was moved, swapped, resized, or in this case it's hidden state was changed.
Yes, this seems tricky as the other poster talked about. How could I be sure this event came from the column chooser? Is there a property to tell me if the chooser is open/visible?
Using AfterColPosChanged solves the problem for knowing weather the user has checked/unchecked the checkbox in column chooser. But the same event is fired if i Changes the column position by drag drop of column. How to distinguish between these two?
ravi