on 05-26-2006 10:06 AM
hi all,
I'm using in my tableview the parameter
visibleRowCount and the parameter fixedcolumn = "true" on different tableviewcolumns. now the problem is that the visiblerowcount-parameter ends the tableview-output in the middle of a group.
Does anybody know a solution to force the renderer to stop at a complete group instead of reaching the visiblerowcount parameter.
thx in advance
Erwin
Hi,
We can also achive your requirement by using tableview iterator.
If you are not familiar with tableview iterators check out the following weblogs.
/people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator
/people/thomas.jung3/blog/2004/09/15/bsp-150-a-developer146s-journal-part-xi--table-view-iterators
Regards,
Azaz Ali.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
you can select your group lines in your controller and than adapt the visible rowcount to the value that is returned by your selection and pass that trough to the view. Or you don't fill it in at all.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I mean you should perform a select of your table for example
select all the lines where a key is equal to, count lines of that local variable and but your visiblerowcounts equal to it.
pass that value as an attribute to your page into the tableview.
function:
select_values( import: keyvalue, export: visiblerowcount)
select * from table where key = keyvalue into localtable
visiblerowcount = lines(localtable).
in do request:
o_view->set_attribute( name = visiblerowcount value = visiblerowcount ).
Message was edited by: Labie Koen
i understand, but the group (local table) could be more than hundreds of records; therefore i want to navigate by the help of the pager; and the next problems is that i have to manage the group change by myself.
I see i have to do by myself, there is no attribute that could "hold groups together".
thx for your ideas
Erwin
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.