I want to know what event is fired when grid datasource is set to nothing?
InitializeLayout event is fired when I set the grid datasource to something but it doesnt get fired when datasource is set to nothing.
Is there an event that gets fired when ever the datasource changes regardless of what the datasource is?
Hi,
Events are typically fired in response to user action. The event lets you, the developer, know that the user did something.
But the user cannot set the DataSource on the grid. If the DataSource of the gird is set, it's because you set it in code. And in such a case, you really don't need an event to tell you that you did so - you already know.
There is no event specifically for when the DataSource changes, because such an event is unnecessary.
The only event that might fire is the PropertyChanged event of the grid.