on 04-26-2005 12:11 PM
Hello everybody,
I already found a few topics dealing with this problem but I wasn't able to find a real solution for this.
So far I'm pretty familiar with table iterators but I have no idea how to handle the summary row to be the last line in a table, even if sorting and navigation by page is allowed in the tableview.
I think you definitely have to add this summary row in your internal table, since you can not add a virtual row in your tableview. And you can custom render this row or respectively each cell for instance with a different color but how to force this row always to appear as the last row in every tableview page (navigation=BYPAGE).
Does anyone have a solution for that?
Thanx
Oliver
Ok, here is what I came up with (hoping I got your problem right):
In your tableview you are displaying <b>x</b> rows, and after these rows you want your sum row to be displayed.
I have done quite some things with iterators, but why not do without one here
Altering the internal table can do as well:
Try to insert a new row after every <b>x</b> rows into your internal table which holds the needed sum values, and then change your tableview to display <b>x+1</b> rows.
In you case you need to do some operations with your internal table (to avoid the sum rows messing up the results) you should somehow "mark" these sum rows so you can distinguish them later on.
Hope this is helpful for your problem.
Max
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot for your solutions,
I will try it this way and give you a feedback...
Regards
Oliver
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think you have understood the problem space and the solution space very well. Unfortunately, you are correct that one additional line must be available in the table to trigger the calling of the iterator. And then you custom render the sum cells. (You can set a nice background colour for these cells.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.