vlasto

vlasto

  • 1.7k
  • 16
  • 4.6k

Tooltip in DataGridView

Mar 25 2011 4:14 AM
I would like to display a tooltip for the cell if the value of the cell is truncated. I've set a DataGridView.ShowCellToolTips = true and then I've set ToolTipText property of cell. The problem is, that my DataGridView shows tootlp[it for evry cell now. Even if cell value is truncated or not. I do not want to show tooltip for every cell. I would like to have tooltip, only when the value of the cell is too log to fit into it.
Does anybody have an idea why tooltip is always displayed?
Thanks

Answers (1)