Solved ListView with sections
-
Hi,
I have done a list view with sections. List view contains elements like price and seat. In this case, seat will be the section.property and here i need to calculate the total price of each section.
i.e
Seat 1
price - 4
price - 2Seat 2
price - 6
price - 4I need the sum of each sections like
Seat 1 - 6 , Seat 2 - 10Any help will be appreciated
-
hi,
@Mahe said in ListView with sections:
List view contains elements like price and seat. In this case, seat will be the section.property and here i need to calculate the total price of each section.
How do you create your model ? Can you calculate the total prices before/during the model creation ?
-
Hi
It worked @LeLev . Thanks a lot for your suggestion.