473,396 Members | 2,010 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

chaning font style for a particular column in DataGrid

I was wondering how to change font style for a column in a DataGrid,
hopefully through the TableStyle object... In particular, I want to make one
column underlined and change the color of the text. I cannot find any helpful
properties or method under DataGridColumnStyle- although I see there is a
FontChanged event so there's got to be a way to do it, right?
Nov 16 '05 #1
1 1949
Let me update this post so you know what I'm trying to do, because maybe
there's a better way... Basically I want data in one of my columns to act as
hyperlinks. Now I know there is a Web UI column specific for this, but can I
use that for my non-web-based program? I want the user to be able to click on
a column and then another window pops up with further details about the
particular item they clicked on....

At first I was thinking I need to change the font style and add a onClick
event and even manage the mouse cursor as it hovers over (so you know you can
click on it) but maybe there's a much easier way to do this perhaps even
using that Web based component? Please let me know!

Thanks in advance
Nov 16 '05 #2

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

Similar topics

4
by: Michel Joly de Lotbiniere | last post by:
I hope this is the correct newsgroup for this subject. The other day I came across a site www.safesquid.com that specified font-family:Terminal font-size:9pt in the inline css for command-line...
2
by: kobeting | last post by:
Dear All, I would like to like that how I can set the font color of a specific column of a datagird. For example, my datagrid contains 4 columns and may rows, but I only want all column 2...
3
by: Quetzal | last post by:
Hello, I have a dataset populated using an XML file. The schema has hierarchical components. Let's say <a><b></b></a>. I have created a datagrid and I have assigned a datastyle and then...
2
by: dsv1991 | last post by:
I have a datagrid that has a column called "Match". The only two values available for this recordset column is a string value of "YES" or "NO". If the value is "NO" then I need the font color to be...
3
by: Doug Swanson | last post by:
I need to create a report via a aspx page/datagrid and have the user be able to print it out and have certain fields have the 3of9 barcode font....is this possible in an aspx page (or for that...
4
by: tshad | last post by:
I am having trouble with links in my DataGrid. I have Links all over my page set to smaller and they are consistant all over the page in both Mozilla and IE, except for the DataGrid. Here is a...
9
by: Max Weebler | last post by:
Hi, I have a datagrid built that has an alternating item style that sets the backcolor and ForeColor of its rows. I have 4 template columns. One of them has a LinkButton embedded in it to...
1
by: Rajesh Joshi | last post by:
How to Change Datagrid's Column font change for a column. and How fill Msflexgrid fill with particular Recordset at runtime.
2
by: DraguVaso | last post by:
Hi, I'm looking for a nice way to format the cell of my datagrid according to some predefined 'rules'. I found a lot on the site of George shepherd, but it wasn't really what I was looking for:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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...
0
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
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
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,...
0
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...
0
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...

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.