SFTooltip to SFDataGrid

Hi !

I'm trying to attach a SFTooltip message into a SFDataGrid control without any success.

I have all other controls of my form sharing SFTooltip messages normally, but the SFDataGrid does not rise any message when I put mouse over it.

I'm not interested in display "cell" or "header" custom messages, but a default tooltip everytime user put his mouse over the control. 

Is it possible?

Thanks!!



5 Replies 1 reply marked as answer

SS Susmitha Sundar Syncfusion Team June 15, 2020 02:53 PM UTC

Hi DavidBS, 
 
Thank you for using Syncfusion controls. 
 
You can enable the SfTooltip for SfDataGrid while mouse hovering. We suspect that, In SfToolTip you are added SfDataGrid instead of SfDataGrid.TableControl. Please refer the below code, 
 
sfToolTip1.SetToolTip(this.button1, "The ToolTip information of the Button control."); 
sfToolTip1.SetToolTip(this.sfDataGrid1.TableControl, "The ToolTip information of the DataGrid control."); 
 
 
 
 
Please let us know if you need further assistance on this. 
 
Regards, 
Susmitha S 



SS Susmitha Sundar Syncfusion Team June 15, 2020 04:08 PM UTC

Hi DavidBS, 
 
Thank you for using Syncfusion controls. 
 
You can enable the SfTooltip for SfDataGrid while mouse hovering. We suspect that, In SfToolTip you are added SfDataGrid instead of SfDataGrid.TableControl. Please refer the below code, 
 
sfToolTip1.SetToolTip(this.button1, "The ToolTip information of the Button control."); 
sfToolTip1.SetToolTip(this.sfDataGrid1.TableControl, "The ToolTip information of the DataGrid control."); 
 
 
 
 
Please let us know if you need further assistance on this. 
 
Regards, 
Susmitha S 



SS Susmitha Sundar Syncfusion Team June 15, 2020 04:45 PM UTC

Hi DavidBS, 
 
Thank you for using Syncfusion controls. 
 
You can enable the SfTooltip for SfDataGrid while mouse hovering. We suspect that, In SfToolTip you are added SfDataGrid instead of SfDataGrid.TableControl. Please refer the below code, 
 
sfToolTip1.SetToolTip(this.button1, "The ToolTip information of the Button control."); 
sfToolTip1.SetToolTip(this.sfDataGrid1.TableControl, "The ToolTip information of the DataGrid control."); 
 
 
 
 
Please let us know if you need further assistance on this. 
 
Regards, 
Susmitha S 


Marked as answer

DA DavidBS June 15, 2020 04:47 PM UTC

Thank you very much Susmitha!

It worked fine.

Kindest regards,
David



SS Susmitha Sundar Syncfusion Team June 16, 2020 07:53 AM UTC

Hi David, 
 
Thanks for the update. 
 
We are glad to know that the reported problem has been resolved at your end. Please let us know if you have any further queries on this.  
 
Regards, 
Susmitha S 


Loader.
Up arrow icon