Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
175
How to apply multiple changes at one time for a WinGrid?
posted

Hi, everyone,

Now I use a WinGrid to display data, the data is stored in a DataTable, and I register the

ultraDataSource1.CellDataRequested event, when this event is fired, I get data from the

DataTable, like below:

void ultraDataSource1_CellDataRequested(object sender, Infragistics.Win.UltraWinDataSource.CellDataRequestedEventArgs e)

{if (e.Row.Band.Key == "RootBand" && e.Row.Index < _datatable.Rows.Count)

{switch
(e.Column.Key){case "Column1":

e.Data = _datatable.Rows[e.Row.Index][0];

break;}

}

}

now my question is: the user may make multiple changes from the UI(the WinGrid), and he/she wants to apply the changes

at one time, and there is a indicator to indicate that some changes have been made, but the user

has not applied it yet, anyone knows how to achieve this? Any help would be appreciated.

Thanks in advance.