datagrid height issues

A

AM

This might have down the rounds before.
It's a simple problem of positioning web items "under" a
data grid on a page.
Because you don't know the height of the grid at design
time how do you say
"position these items below the grid"

At runtime the "height" property never seems to be set to
anything other than zero, either on the client or server
side.

I've even tried some client side java script that says
[pseudo code]
set item.top to grid.top + (rows * rowHeight)
~21px

to move items to their correct height, but this dies as
soon as some data in the grid goes over multiple lines.


Thoughts?
 
A

Alvin Bruney

2 options, set the height in design mode. the datagrid should not grow
beyond that height (if it is paged).
other option, wrap the datagrid in a div tag and give the div tag vertical
scroll bars.
 

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

Members online

Forum statistics

Threads
474,263
Messages
2,571,064
Members
48,769
Latest member
Clifft

Latest Threads

Top