Get properties on Table object

J

Jack Black

I have a table on a page that I need to retrieve the properties on so
I can reposition it/another table... How do I retrieve properties like
height, top, left, etc on a table object? I've tried
objTable.Items.Style("whatever") but it either returns an empty string
or throws an error...

Ideas?
Thanks!

Jack
 
E

Eliyahu Goldin

Jack,

Looks like you are interested in client-side properties. They can be
collected on the client side with javascript & DHTML, packed into a string
value and transmitted to the server. The server can apply the properties to
another table via Attributes collection.

Eliyahu
 
J

Jack Black

Thanks for responding, guys!

Turns out what I did was calculate a table's height based on number of
rows in a resultset plus a given gap between tables, the starting
position (table.Style.Items("top")) for the next table after each
rowset was rendered into columns. Worked as well as anything else,
without having to do any client-side DHTML... :)

Jack
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top