Hello! I have a problem. I have a component that has UltraGrid component on it. Let's call it MyComponent. And I use it in different situations and load different data to it from different data sources. Some of them load lazily from these data sources, some instantly. I subscribe to OnBeforeColumnChooserDisplayed of my UltraGrid object to change some properties of column chooser dialog.
In some cases it fires the event, in some - not. Debugger doesn't go to the event handler. But column selector windows is shown every time, even when the events is not fired.
And I think that it doesn't depend of bindings.
What can be the reason of this behaviour?
The problem occured because grid.EventManager.AllEventsEnabled property had been set up to false.
Thank you for the support!
Hello Yuri,
Please post here when you are ready, I will be waiting your feedback.
Ok, I'll think about your proposal.
I understand your concerns. It is hard to guess out of nothing here, without seeing any real example. I cannot think of anything which could cause this behavior and it does not seem to be an ordinary one. Now, that I am aware of your restrictions, I am asking you of a new project in which you could reproduce this, not your real one. It will be great if I have something like this in front of me, so I could research it further.
I'm sorry, but I cannot show you the sources because of my organization's restrictions. But my question was asked to understand the reasons of such behaviour in general than to understand why it happens in my code.
May be there are any reasons why it could happen?
Thank you!