Hello Guys ,
I am newbie with tererik RadGridview with winforms and I build form that have collection of custom object called SaleBillDetailsDTO the grid showed values correctly but when I add new item in grid the data disappear
What should I do to add new row ? If you have sample tutorial it will be very helpful
I am newbie with tererik RadGridview with winforms and I build form that have collection of custom object called SaleBillDetailsDTO the grid showed values correctly but when I add new item in grid the data disappear
BindingSource bsData =
new
BindingSource();
var listBinding =
new
BindingList<SaleBillDetailsDTO>(lstSBDetails);
bsData.DataSource = listBinding;
radGridView2.DataSource = bsData;
// Allow the user to add rows
((BindingList<SaleBillDetailsDTO>)bsData.List).AllowNew =
true
;
((BindingList<SaleBillDetailsDTO>)bsData.List).AllowRemove =
true
;
What should I do to add new row ? If you have sample tutorial it will be very helpful