hey all,
i'm working on a grid, to be simple, which has 3 columns, price, quantity, and total, total is price*quantity, i know, it working great if i have gridview.itemsource is binding with a class which with INotifyPropertyChanged. but so far, i need binding with a datatable ( Enumerable(Dictionary<string, object>) ), so i have such problem, when i change quantity or price, i can update that datatable (change price or quantity and change total also) by using celledited event, but the value in total cell didnt update, and either because im in celledited event, i cant do grid.itemsource = null; grid.itemsource = datatable;
so basically, is possible put INotifyPropertyChanged in datatable? or there is any other solution..
cheers
i'm working on a grid, to be simple, which has 3 columns, price, quantity, and total, total is price*quantity, i know, it working great if i have gridview.itemsource is binding with a class which with INotifyPropertyChanged. but so far, i need binding with a datatable ( Enumerable(Dictionary<string, object>) ), so i have such problem, when i change quantity or price, i can update that datatable (change price or quantity and change total also) by using celledited event, but the value in total cell didnt update, and either because im in celledited event, i cant do grid.itemsource = null; grid.itemsource = datatable;
so basically, is possible put INotifyPropertyChanged in datatable? or there is any other solution..
cheers