I'm trying to add a tooltip for my custom column - here is the code:
void Grid_ItemDataBound(object sender, GridItemEventArgs e)
{
foreach (GridColumn column in RadFileExplorer1.Grid.MasterTableView.RenderColumns)
{
if ((column is GridTemplateColumn) && (column.HeaderText.Equals("Document Title")))
{
if (e.Item is GridDataItem)
{
GridDataItem gridItem = e.Item as GridDataItem;
string text = gridItem[column.UniqueName].Text;
//this line will show a tooltip
gridItem[column.UniqueName].ToolTip = text;
}
}
}
}
I'm unable to get the value of the cell as tooltip - can you please help?