By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,988 Members | 1,049 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,988 IT Pros & Developers. It's quick & easy.

datagrid column question

P: n/a
Jon
I want to add a tooltip to my datagrid rows, but only for one of the
columns. I figured out how to add a tooltip for each row, but I only want a
tooltip for one column of the row. How would I accomplish that? Thanks!
Nov 19 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
In ItemCreated event you can access Cells collection for the items (rows).
Filter out non-data items, such as header, footer. For data items set
Cellsi].ToolTip property, where i is your column index.

Eliyahu

"Jon" <ro*******@mainstreams.com> wrote in message
news:10*************@corp.supernews.com...
I want to add a tooltip to my datagrid rows, but only for one of the
columns. I figured out how to add a tooltip for each row, but I only want a tooltip for one column of the row. How would I accomplish that? Thanks!

Nov 19 '05 #2

P: n/a
Jon
Great, thank you!
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:eS****************@TK2MSFTNGP09.phx.gbl...
In ItemCreated event you can access Cells collection for the items (rows).
Filter out non-data items, such as header, footer. For data items set
Cellsi].ToolTip property, where i is your column index.

Eliyahu

"Jon" <ro*******@mainstreams.com> wrote in message
news:10*************@corp.supernews.com...
I want to add a tooltip to my datagrid rows, but only for one of the
columns. I figured out how to add a tooltip for each row, but I only
want

a
tooltip for one column of the row. How would I accomplish that? Thanks!


Nov 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.