on 02-16-2007 8:57 AM
Hi,
I want to create a table wich is vertical..so the columns are on the left side en the rows go from top to bottom. This i've managed but now i want to add 1 last row at the end which has 1 button per column. Its quite a common set-up...kinda like when you can compare things by items and at the bottom you can select the one which you want to put in your basket.
My idea was to loop through the columns and reading their widths. Then from this create transparantcontainers with a button in it and set the container to this width. Then add all the container in a container underneath the table. This would make the buttons line-up nicely with the columns i thought. I'm trying to do this in the wdDoModifyView. The problem is that the width of the columns return "" instead of their width. This is maybe because the widths are not yet known in the wdDoModifyView?
I thought about setting a tablecelleditor but these work for a whole column and not for a single cell i guess...
Does anyone have a sollution for this?
regards,
Hugo
Hugo,
Trying to calculate width of columns is a dead-end: it could be defined in percents and has different size on user screen, also percent and pixel width is just a hint for browser, real width of column may differ depending on content size.
If you are using NW04s and having one button per column is exactly what you want then try to create Fixed bottom cell with TableStandardCell variant and add Button as editor here.
Valery Silaev
SaM Solutions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
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.