on 2004 Oct 20 7:57 PM
Hi,
I created a new TableView with 2 titles in the columndefinitions. When the table is displayed in the screen and i scroll in it, the column titles are scrolling as well. Is there a way to always keep those column titles in top of the TableView?
<xhtmlb:overflowContainer mode = "SCROLL"
width = "600px"
height = "150px" >
<htmlb:tableView id = "z6consommation1"
fillUpEmptyRows = "true"
footerVisible = "false"
selectionMode = "SINGLESELECT"
visibleFirstRow = "1"
columnDefinitions = "<%= columnDefinitions %>"
selectedRowIndex = "<%= me->rowSelection %>"
table = "<%= me->it_consommation %>"
onRowSelection = "MyEventRowSelection"
visibleRowCount = "150"
sort = "SERVER"
width = "100%" />
</xhtmlb:overflowContainer>
Hi Eric,
it's not possible to keep the column titles and only scrolling the rest. The OverflowContainer is something like a wrap around your tableview (or whatever content is in there). Everything within gets scrolled.
If you have many rows in your table presented by the tableview you should use the navigation of the tableview by reducing the amount of rendered rows on one page via parameter "visibleRowCount".
Regards,
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What do you mean that the column headers scroll as well?
Most likely it has to do with your overflowContainer, have you tried taking off the visibleRowCount and footerVisible=false ??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
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.