EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: ndtdnc on February 27, 2015, 07:54:12 AM



Title: Datagrid selections.
Post by: ndtdnc on February 27, 2015, 07:54:12 AM
Dear,

I have a question about datagrid selections.
I have datagrid 1 with more items (can select one more multiple).
IMG 1:
(http://i.imgur.com/43YZCEK.jpg)

I split function when select one item and selections for calculator price.
IMG 2:
(http://i.imgur.com/QdHFyj5.jpg)
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:
(http://i.imgur.com/X7k6sAk.jpg)

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.







Title: Re: Datagrid selections.
Post by: ndtdnc on February 28, 2015, 10:42:23 PM
:( Still problem...Anyone can help me plz. Thank you :'(