473,473 Members | 1,484 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Tooltip in Datagrid cell?

I need to have a Tooltip on each Cell in a datagrid, I don't know how to do
this. I'm using Styles to the datagrid (Which I asume most people do since
you never need to show all the fields from the source).

The Cell I want a tooltip on is styled with a textboxcolumn and the TextBox
Object in that TextBox Column doesn't seem to have a property called
Tooltip.. so i'm sorta stranded here...

Best regards/
Lars
Nov 21 '05 #1
5 1847
Lars,

Do you mean cell or column?

The first is impossible in my opinion, for the second I have a sample what
easily is to use however it works only in a selected cell. (I have to modify
it again when you need it, so let me know if that is what you want)

And winform of course.

Cor
Nov 21 '05 #2
A cell... since it's a textbox in the cell (using a style) i don't see why
it should be impossible...

/Lars

I would really appriciate
"Cor Ligthert" <no************@planet.nl> skrev i meddelandet
news:%2****************@TK2MSFTNGP14.phx.gbl...
Lars,

Do you mean cell or column?

The first is impossible in my opinion, for the second I have a sample what
easily is to use however it works only in a selected cell. (I have to modify it again when you need it, so let me know if that is what you want)

And winform of course.

Cor

Nov 21 '05 #3
Lars

Because it is known how many columns there are normaly but not how many
rows.

(Or you should add the tooltip from every item in your database as an extra
item. I think that it in that way can be done creating the same amount of
not visible columns and than use those)

Cor
A cell... since it's a textbox in the cell (using a style) i don't see why
it should be impossible...

/Lars

Nov 21 '05 #4
Hi,

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

Ken
----------
"Lars Netzel" <[stop_spam]@host.topdomain> wrote in message
news:e0**************@TK2MSFTNGP10.phx.gbl...
I need to have a Tooltip on each Cell in a datagrid, I don't know how to do
this. I'm using Styles to the datagrid (Which I asume most people do since
you never need to show all the fields from the source).

The Cell I want a tooltip on is styled with a textboxcolumn and the TextBox
Object in that TextBox Column doesn't seem to have a property called
Tooltip.. so i'm sorta stranded here...

Best regards/
Lars

Nov 21 '05 #5
Hi Ken,

I did not know that hittestinfo, that makes things again a lot simpler.

Thanks

Cor
Nov 21 '05 #6

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

Similar topics

2
by: Stephen | last post by:
I'm trying to work with a datagrid column in order to display a tooltip in a datagrid cell. The reason I am doing this is because I have some long strings being returned and I don't want the rows...
0
by: Stephen | last post by:
I have the following column and so far im able to bind the column to CompanyName and only return the first 50 characters. The second function i'd like to retun a tooltip for that datagrid cell but...
4
by: JerryP | last post by:
Hi Group, Id like to have a tooltip for each col in the datagrid. Is there a way to do that ? Thanks ! Jerry
2
by: Stephen | last post by:
Is it possible to add a tooltip in the column of a Datagrid. Can someone please show me how I would do this for the datagrid column below. Thanks for any help anyone can give me. Here is the...
1
by: Lars Netzel | last post by:
I need to have a Tooltip on each Cell in a datagrid, I don't know how to do this. I'm using Styles to the datagrid (Which I asume most people do since you never need to show all the fields from the...
3
by: Craig G | last post by:
what way do you code it? i tried the following but it wouldnt display it lblAdd_info is a hidden field in the cell itself that contains the data i want to display in the tooltip text. i added the...
4
by: John Smith | last post by:
How to add the tool tip to the datagrid column? I have a situation wherein the customer number is displayed in the datagrid column. I wanted to display the corresponding customer first and last...
2
by: james | last post by:
I have been looking for a way to reproduce the tooltip that Access displays when scrolling the Datagrid that shows the record count (changes as you move the thumb up or down). So far, nothing I...
2
by: geronimi | last post by:
I want a tooltip (in an item in a datagrid) to stay for more then 5 seconds (standard) visible, Do I have to write my own Toolip or can I change a setting somewhere to increase the tooltip visible...
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,...
1
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...
0
agi2029
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,...
1
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.