Hello,
When i want to modify a value in a cell the DataGrid will update the DataSource but i don't want that...
And i can't set the DataChanged attribute of the Cell or the ModifiedRow of the row to false
I need help, i'm on this problem since yesterday i tried everything i can i dont know how to do...
Sorry for the poor english i'm french and it's my first post here.
Thank you very much for answers.
You could try setting the 'UpdateMode' property of the 'WinGrid' control like this:
ultraGrid1.UpdateMode = Infragistics.Win.UltraWinGrid.UpdateMode.OnUpdate;
You could also take a look at the following link:
http://help.infragistics.com/NetAdvantage/WinForms/2011.2/CLR2.0/?page=Infragistics2.Win.UltraWinGrid.v11.2~Infragistics.Win.UltraWinGrid.UpdateMode.html
Please do not hesitate to contact us if you need any additional assistance.
Thank you very much for your help i desperate... I already try this and it don't work. I don't know if you really understand what i mean.
i'll show you a little exemple of my problem:
for (int i = 0; i < MyDataGrid.Rows.Count; i++){
MyDataGrid.Rows[i].Cells["column"].Value = "new Value";
}
After something like that all the row will be updated in the DataSource but i don't want that! i only want to update rows modified by the user during the execution.
i'm searching for something who will disable the event who set the DataChanged to true or something like that.
Thanks for your help