Forcing datagrid to expand horizontally instead of vertically

S

shanti.miller

I've got a grid that uses paging and displays a maximum of 10 records
at a time.
Sometimes the fields have a lot of data in them and the datagrid takes
up way too much horizontal space. I've tried setting the height and it
doesn't do anything. I can set the width to some very large number
like 3000px and that works ok, but it's a waste when the data doesn't
require that much space.
Is there a way to limit the height of the grid or of the rows
themselves and force the grid to expand horizontally instead of
vertically when there is a lot of data?
I've seen some examples of using divs with scrolling, but I don't want
the user to have to scroll vertically. Scrolling horizontally and
having the grid take up several pages sideways is fine.

Thanks
 
T

Teemu Keiski

Hi,

how about using dataList with paging? You could put DataList to repeat
horizontally.
 
S

shanti.miller

I really want the display to look like a grid, so I'm not sure if there
is a way to do that with a datalist, but even if there is, it's not a
big enough deal for me to spend a bunch of time rewriting code. I was
just hoping that there was something fairly simple I could do to limit
the grid to a certain height or limit each row to a certain number of
lines of text. But everything I try just seems to get ignored by IE
when it's time to render the html.
 
L

loga123

Hi...

Did you get your problem solved?? I have a similar requirement as
yours. Could you please share your solution with the group?

Thanks
 
L

loga123

Hi...

Did you get your problem solved?? I have a similar requirement as
yours. Could you please share your solution with the group?

Thanks
 
L

loga123

Hi...

Did you get your problem solved?? I have a similar requirement as
yours. Could you please share your solution with the group?

Thanks
 

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
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top