Re: Forcing datagrid to expand horizontally instead of vertically

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi,

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

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke


<shanti.miller@xxxxxxxxx> wrote in message
news:1150385968.787459.309290@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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



.



Relevant Pages

  • Re: Forcing datagrid to expand horizontally instead of vertically
    ... Teemu Keiski wrote: ... up way too much horizontal space. ... Is there a way to limit the height of the grid or of the rows ... I've seen some examples of using divs with scrolling, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Forcing datagrid to expand horizontally instead of vertically
    ... Teemu Keiski wrote: ... up way too much horizontal space. ... Is there a way to limit the height of the grid or of the rows ... I've seen some examples of using divs with scrolling, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Forcing datagrid to expand horizontally instead of vertically
    ... Teemu Keiski wrote: ... up way too much horizontal space. ... Is there a way to limit the height of the grid or of the rows ... I've seen some examples of using divs with scrolling, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Forcing datagrid to expand horizontally instead of vertically
    ... I really want the display to look like a grid, so I'm not sure if there ... Teemu Keiski wrote: ... up way too much horizontal space. ... I've seen some examples of using divs with scrolling, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How to debug a compiled exe
    ... I killed all DoEvents and replaced them with Sleep where necessary. ... My problem was that I was doing long doevent loops in which the app could do other things that it wanted to do. ... You can click on a cell in the grid, ... While it was still scrolling, ...
    (microsoft.public.vb.general.discussion)