Skip to Content
0
Former Member
Mar 03, 2009 at 04:51 PM

Defining a Center Aligned Table in a WebI Report ?

1139 Views

I sure hope I'm missing something, but one of our developers has been struggling with this for days and it seems like such an obvious report building exercise. I looked myself and couldn't see how to do it either... not even using something crafty.

The basic problem is that we have some content that will change every time the report is run, so we put this data in a one row table with the "show when empty" feature disabled for the cells and "auto-fit width" turned on. If we could just center align the resulting table we would be fine, but the only way to center align it is to select another item and then use the center align feature. However, that is a one-time operation that simply calculates the offset given the current data. If the report is run again with different prompts (for example) the table size may be different, but the center offset is not recalculated because there is no way to mark the table for center alignment.

So we need the table to be center aligned (either to the page, report header, or another element would work for us) because it will have multiple (optional cells). Also, FYI, we can't just put it all in one forumla and let the cell content be centered... because we're actually embedding multiple hyperlinks in those other cells... in a borderless table... to get a centered block effect on the results.

Any suggestions? Only thing we've come up with is to insert padding cells that we set to Fixedsys fond and then calculate a space Fill() on based on the other results... but that's really messy and seems like overkill for something that's normally a "bread and butter" report building feature.