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 5 2840
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
<sh***********@gmail.com> wrote in message
news:11**********************@h76g2000cwa.googlegr oups.com... 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
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.
Teemu Keiski wrote: 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
<sh***********@gmail.com> wrote in message news:11**********************@h76g2000cwa.googlegr oups.com... 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
Hi...
Did you get your problem solved?? I have a similar requirement as
yours. Could you please share your solution with the group?
Thanks sh***********@gmail.com wrote: 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.
Teemu Keiski wrote: 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
<sh***********@gmail.com> wrote in message news:11**********************@h76g2000cwa.googlegr oups.com... 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
Hi...
Did you get your problem solved?? I have a similar requirement as
yours. Could you please share your solution with the group?
Thanks sh***********@gmail.com wrote: 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.
Teemu Keiski wrote: 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
<sh***********@gmail.com> wrote in message news:11**********************@h76g2000cwa.googlegr oups.com... 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
Hi...
Did you get your problem solved?? I have a similar requirement as
yours. Could you please share your solution with the group?
Thanks sh***********@gmail.com wrote: 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.
Teemu Keiski wrote: 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
<sh***********@gmail.com> wrote in message news:11**********************@h76g2000cwa.googlegr oups.com... 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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: anonymous |
last post by:
I have created a DataGrid control with checkboxes, TextBoxes,
ComboBoxes, and NumericUpDowns. Since I used the DataGridBoolColumn,
the checkbox is displayed in the center of the cell, horizontally...
|
by: Ashvin Navare |
last post by:
Hi,
I want to make a datagrid to be vertically scrollable
instead of paging in it. So I have put that datagrid html
tags inside <div></div> tags and made that div scrollable.
Due to this if I...
|
by: Tom Le |
last post by:
Hi,
I have a database table with 20 colunms. I don't want to
display 20 colunm horizontally in a datagrid because it
create a horizontal scroll bar on the browser. Instead, I
want to display 20...
|
by: Craig Banks |
last post by:
If a row of data in a dataset has a lot of columns the row displaying the
data in a datagrid will run way off the screen. What I'd like to do is
display a row of data over several datagrid rows so...
|
by: Henry |
last post by:
Hi. I've posted this at another discussion board(WebControls) and I was
wondering if anyone knows or could help me in the right path to solving my
problem. Thanks.
Henry
(Here is the...
|
by: Li Pang |
last post by:
I'd like to display data in a datagrid horizontally
instead of vertically (ie, rotate datagrid by 90 degree).
Anyone knows how?
Thanks in advance
|
by: Tmuld |
last post by:
Hello,
I have a page that needs to only show 1 record at a time - but there
are many fields - I want to display it vertically instead of
hornizonatlly.
The headers will run vertically as...
|
by: cooltech77 |
last post by:
Hi,
I am trying to build the following functionality in the datagrid.
I have a lot of columns in the datagrid which are being populated from the
database and the user needs to scroll...
|
by: =?Utf-8?B?bWlrZWc=?= |
last post by:
Hi,
I am building a small Help Desk application for my company and need to be
able to edit "open" help desk issues. I use a simple datagrid to display
each issue (6 per page) , with an Edit...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
| |