PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft VB .NET
Questions about DataGrids..
Forums
Newsgroups
Microsoft DotNet
Microsoft VB .NET
Questions about DataGrids..
![]() |
Questions about DataGrids.. |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hi,
I have a datagrid which is happily populated from my database, complete with some additional calculated columns. However, I have a couple of questions 1. How can I change the formatting of the text in a particular column? i.e. i want to make it red if a condition is true 2. How do i change the default column headings and widths? 3. Can i hide a column? ( it's needed for the calculated column but i dont really want to see it ) Many thanks! Dan |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Connor,
For most of your questions is the answer the datagrid style See this simple sample on our Site for a first idea http://www.windowsformsdatagridhelp...46-3300b2215049 Most of the items you ask are related to the datagridtextboxcolumn http://msdn.microsoft.com/library/d...emberstopic.asp I hope this helps, Cor |
|
|
|
#3 |
|
Guest
Posts: n/a
|
This is the ideal site which gives answers to your questions:
http://www.syncfusion.com/FAQ/Windo...Default.aspx#44 "Connor T" <madman_dan@hotmail.com> wrote in message news:evsye.106$Dq.93@newsfe3-gui.ntli.net... > Hi, > > I have a datagrid which is happily populated from my database, complete with > some additional calculated columns. > > However, I have a couple of questions > > 1. How can I change the formatting of the text in a particular column? i.e. > i want to make it red if a condition is true > > 2. How do i change the default column headings and widths? > > 3. Can i hide a column? ( it's needed for the calculated column but i dont > really want to see it ) > > Many thanks! > Dan > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

