473,569 Members | 2,879 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

individual cell hight in datagrid

I'm trying to display data in a datagrid. The rows are hours of the day and the coloums are days of the week. I need individual cell hight to display that a task takes more than one hour. How can it be done

;-)) Guffe
Nov 20 '05 #1
6 1164
You can't have cells with different heights on the same row. At least not
what I have seen. You will have to go and change the Row Height instead!

/Lars

"guffe" <an*******@disc ussions.microso ft.com> skrev i meddelandet
news:C2******** *************** ***********@mic rosoft.com...
I'm trying to display data in a datagrid. The rows are hours of the day and the coloums are days of the week. I need individual cell hight to
display that a task takes more than one hour. How can it be done?
;-)) Guffe

Nov 20 '05 #2
"guffe" <an*******@disc ussions.microso ft.com> schrieb
I'm trying to display data in a datagrid. The rows are hours of the
day and the coloums are days of the week. I need individual cell
hight to display that a task takes more than one hour. How can it be
done?

;-)) Guffe


Have a look here:
microsoft.publi c.dotnet.framew ork.windowsform s.controls
--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #3
Hi Armin,
Have a look here:
microsoft.publ ic.dotnet.frame work.windowsfor ms.controls


Do you thinks that Herfried knows the answer, I have seen that even Ken is
not active anymore in that newsgroup, and I am sure when he knows it, he
answered this question here.

In my opinion the answer is already given by Lars.

:-)

Cor
Nov 20 '05 #4
Hi,

In addition to Lars comments. The only suggestion I have is to
change the color of the cells for a task thats takes more than a hour.

http://www.syncfusion.com/FAQ/WinFor...c44c.asp#q745q

Ken
-------------
"guffe" <an*******@disc ussions.microso ft.com> wrote in message
news:C2******** *************** ***********@mic rosoft.com...
I'm trying to display data in a datagrid. The rows are hours of the day
and the coloums are days of the week. I need individual cell hight to
display that a task takes more than one hour. How can it be done?

;-)) Guffe

Nov 20 '05 #5
Is there another way of showing my data

---------------------------------------------------
| Monday | Tuesday
---------------------------------------------------
8,00 | | That
-----------| This |------------
9,00 | |
-----------|----------- | This
10,00 | That |
-----------|-----------|-------------

There must be a way to make this kind of display!

;-)) Guffe
Nov 20 '05 #6
"Cor Ligthert" <no**********@p lanet.nl> schrieb
Hi Armin,
Have a look here:
microsoft.publ ic.dotnet.frame work.windowsfor ms.controls


Do you thinks that Herfried knows the answer, I have seen that even
Ken is not active anymore in that newsgroup, and I am sure when he
knows it, he answered this question here.

In my opinion the answer is already given by Lars.

:-)


A hint which group to use next time doesn't cause any harm.

:-)
--
Armin

Nov 20 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
15440
by: Terry | last post by:
Hey, Having somewhat of an issue, I have a datagrid which is giving me issues. The Datagrid is setup for the user to double click the row, the row is selected and data within that row populates a form for editing. the problem is when a user clicks on a cell instead of the whole row, I get an error. My question is this, is there anyway I can...
2
838
by: Richard | last post by:
I know that you can format a grid and its columns using DataGridTableStyle and DataGridTextBoxColumn in VB.NET. But can you change the format of the individual rows, or even cells, to something other than the default? For instance, I have a datagrid displaying a list of products in stock. I want to highlight the products in red if the...
0
1514
by: elime | last post by:
Hi all I have a strange behaving on some PC with my DataGrid. It only occurs on some PC, on others it works perfectly fine. ->(same ..net version installed) it's very confusing. starting position: I click with the mouse into a cell of the DataGrid, the cell gets active (gray) and marks the cell-content.
2
3173
by: Daniel Walzenbach | last post by:
Hi, I created an ASP.NET Datagrid where a single row can be selected by clicking anywhere on the row (according to http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vbtchTopQuestionsAboutASPNETDataGridServerControl.asp, Selecting Rows by Clicking Anywhere). Private Sub DataGrid1_ItemDataBound(ByVal...
0
385
by: Roy | last post by:
What is the best way to approach this problem? I have a datagrid with an imagebutton. When one clicks the imagebutton it triggers an onClick sub which makes column 9 (a user control) visible or invisible. Only problem is when one clicks the imagebutton on a specific row, I want *only* that row's column 9 to appear or disappear. ********My...
3
15394
by: Mad Scientist Jr | last post by:
Can someone post a clear example of how to change the background color of an individual datagrid cell for a Windows desktop app? (preferably in vb.net) I found some code on how to do this when the user clicks on the cell: Private Sub DataGrid1_CurrentCellChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles...
10
4936
by: JohnR | last post by:
I have a datatable as the datasource to a datagrid. The datagrid has a datagridtablestyle defined. I use the datagridtablestyle to change the order of the columns (so they can be different than the column order of the datatable). I also allow the user to click on a column header to sort the datagrid by that column. I need to identify...
2
7316
by: jacqueharper | last post by:
I need to change the formatting of individual cells in a datagrid. I cannot figure out how to address individual cells by their column name. I have a DataTable which contains (for instance) columns called Weight, Length and Diameter. The table is bound to a DataGrid, and I am using the ItemDataBound behavior to execute code that checks...
3
2284
by: Ryan Liu | last post by:
Can someone give a sample to prevent a row from being deleted in a datatable? I tried e.Row.RejectChanges(); in dt_RowDeleting() but seems does not work. I need verify if there other data using data in this row before actually remove it from datagrid. I can certainly control with Delete button. But if I want to allow the user to use...
0
7703
marktang
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...
0
7930
Oralloy
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. ...
0
8138
jinu1996
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7681
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...
0
7983
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
1
2118
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
1
1229
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
950
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.