How to enable DGV cell tooltips

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
Answered
0
0

I have show cell tooltips set to true but I do not see any tooltips when hovering over a cell. Is there something I need to do in order to see them?

Thanks

Nic

  • You must to post comments
Best Answer
0
0

Hi Nic,

I have tried this and it works:

this.dataGrid1[0,0].ToolTipText = “Test Cell 1”;

this.dataGrid1[1,0].ToolTipText = “Test Cell 2”;

The cell tooltips and error message use the browser’s tooltips and not the tooltip widget.

Best,

Luca

 

  • You must to post comments
0
0

Hi Chris,

I have tried it in a simple sample and it worked ok:

tooltip

What browser are you using. Any chance to send me the complete code ?
You can either post it here or send it to frankATiceteagroup.com

Thanks in advance !

Best regards
Frank

Attachment
  • Chris Turner
    I am not able to send you the complete code and the grid is a reusable component with a lot of dependencies, but I what I have found that the tool tip works perfect when there is enough rows from the search to create a scroll bar but otherwise does not show. I will send you a pic. Its a databound grid except for the image column.
  • You must to post comments
0
0

Hi Luca,

I tried this in 1.4.35.0 and it did not work.

I tried to set the tool tip on a image column on individual cells in a loop as in the code below

grdProducts(0, row.Index).ToolTipText = “Stock available : ” & articles.Articles(0).TotalQuantityStockAvailable.ToString
grdProducts(0, row.Index).Style.BackColor = Drawing.Color.Red
row.Cells(0).Value = “images/box_open_24.png”

This successfully colors the cell red , and places a image in them, but will not put a tooltiptext on the cell. The grid is enabled to show cell tool tips.

Thanks

Chris

 

  • You must to post comments
0
0

Thanks Luca,

That works perfectly.

Nic

  • You must to post comments
Showing 4 results
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 5, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json