Dear,
I have a question about datagrid selections.
I have datagrid 1 with more items (can select one more multiple).
IMG 1:

I split function when select one item and selections for calculator price.
IMG 2:

But i have trouble when i try to calculate with selections. I want calc every items and plus all items's result for total value.
When i choose more than one items. And click DEM button. It will show this panel. cause i want apply for all items (calc for all items)
IMG 3:

DateBox is Extend date. Calc:
(Extend date - Last period) + free days + Cont fee + discount (if have).
- Last period: get from database
- Free days: get from db
- Con fee: from db by selected cont.
With one item, i do it as IMG 1. But with selections, i want do it as above and after that get total. but i fail

Please help me
Im very thank you.