views:

130

answers:

1

I'm interested to center (dynamically) the list/table on page.

Eg I have table with unknown records count (only in runtime will know that)

So how to center it on the page?

+1  A: 

I have not tried this myself, but have you thought about setting the top position or margin based on an expresssion? Something like the following pseudo code

( < pageHeight> - (<numRows> * <rowhieght>) ) / 2
Darren Gosbell