BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
dataGrid.Model.QueryCellInfo += Model_QueryCellInfo;
private void Model_QueryCellInfo(object sender, GridQueryCellInfoEventArgs e)
{
var identity = ((GridDataStyleInfo) e.Style).CellIdentity;
if (identity?.Column == null)
return;
if (identity.TableCellType == GridDataTableCellType.RecordCell)
{
e.Style.ShowTooltip = true; // If we set true alone like this by default the tooltip will show the cell values.
if (e.Style.CellType == "ComboBox")
e.Style.ToolTip = e.Style.Text; // Set the tooltip value as Text so that Display Member's string will be shown in tooltip.
}
} |