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 2859
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.goo glegroups.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.goo glegroups.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***********@g mail.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.goo glegroups.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***********@g mail.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.goo glegroups.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***********@g mail.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.goo glegroups.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 and
vertically aligned.
I want the other cells with data to also be centered so that it is
congruent with the checkbox. I'm having problems centering the data
vertically.
The data always is aligned to the top of the cell, and I want it to...
|
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 scroll down vertically the datagrid,
header is not shown in the datagrid view as it is scrolled
up.
I want datagrid to be scrollable but header of the
datagrid should always be visible.
To solve this problem I put a dummy datagrid at the top of
|
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 colunms in a datagrid vertically. How
would I do this? I am desprate. Does anyone know how to
do it?
Thanks in advance
Tom
|
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 the user doesn't have to
scroll horizontally. Essentially, I want to wrap a datagrid row (not text in
individual columns) with as much control as possible. Make sense?
While this seems simple enough on the surface, I can't figure out how to do...
|
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 original post)
-------------------------------------
I have a question regarding freeze header on datagrid when scrolling. I've
found this site
| |
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 well.
Sort of like this
|
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 horizontally to view these coloumn
names.
So I want to group them into
categories which will fit into a page.
A user clicks a category and the category should
|
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 button. There are a lot of fields
across, and my Network Admins would like a way of editing/updating each
issue seperately in a a vertical form. I need a way of clicking on the edit
button ,bringing up a form with the record, editng the fields, and...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |