cancel
Showing results for 
Search instead for 
Did you mean: 

vertical table with buttons underneath

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

http://www.sam-solutions.net

Former Member
0 Kudos

Valery,

mmmm, unfortunately i'm bound to NW04. Back to the drawingboard then

Thanks for the info.

Best regards,

Hugo

Answers (0)