Hi Varsha,
Thanks for using Syncfusion products.
Your requirement
to assign tool tip to particular column can be achieved by using QueryCellStyleInfo.
Please refer the following code snippet.
this.GridGroupingControl1.QueryCellStyleInfo
+= new GridTableCellStyleInfoEventHandler(GridGroupingControl1_QueryCellStyleInfo);
void
GridGroupingControl1_QueryCellStyleInfo(object
sender, GridTableCellStyleInfoEventArgs e)
{
if
(e.TableCellIdentity.TableCellType == GridTableCellType.RecordFieldCell
|| e.TableCellIdentity.TableCellType == GridTableCellType.AlternateRecordFieldCell)
{
if
(e.TableCellIdentity.Column.MappingName == "Name"
|| e.TableCellIdentity.Column.MappingName == "Currency")
{
e.Style.CellTipText =
e.Style.Text;//Assign cell value to tool tip
}
}
}
For your convenience , we have created the sample and same can be
downloaded from below link.
tooltip.zip
Please let us know if you have any concerns.
Regards,
Yogesh R