.net - Rows Added/Removed event? (Infragistics Wingrid) -


I need to update the row number on a label near WinGrid (WinForms Project).

Grid updates are done in different ways - changing data sources, manual / correction, SQL initialization, etc.

Is there a universal event when the grid line number changes (including data source changes)?

I think you are bound to a list that includes a notice such as binding list or dataset / datatale is. This should be true if you add items to the data source and appear in the grid because the grid depends on the data source related to the source, to know if it needs to be updated.

In that case you can bind the list of the list bound to your grid is part of this event in the event of the changelog.

If you are bound for a DataTable / DataSet, then you want to use the event that will appear by defaultView of DataTable, because it is that which implements IBindingList and what exactly does the grid bind is.

If you are using a collection that changes the INUNITifyCollectionChanged instead of the IBindingList, then you will use the archived change event. If you are developing WPF, then it will be more likely as this is the one who uses the Obsolete Code for change notifications.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -