I'm looking to add a tooltip to a certain column in my grid, lets says its called 'TestColumn'. How do i go about adding a tooltip to cells in just that column and not the others. At the moment i am applying a tooltip to each cell as follows:
How do i modify this to take the column 'TestColumn' into account?
if
(e.Item
is
GridDataItem)
{
foreach
(TableCell cell
in
e.Item.Cells)
{
if
(cell.Text !=
" "
) cell.ToolTip = cell.Text;
}
}
How do i modify this to take the column 'TestColumn' into account?