We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

How to Export to EXCEL Grid Control Tooltip values

How to Export to EXCEL Grid Control Tool tip values..

it can be export the grid cell values only ..can not be export the tool tip values..
am calculate the cell value..
actual value put in to the tool tip.. and calculated value put into the grid cell..
then how to export to excel only grid  tool tip values..

1 Reply

SA Solai A L Syncfusion Team December 30, 2015 08:45 AM UTC

Hi Mythili,

Thank you for your interest in Syncfusion products.

To assign the Grid Cell Tooltip values alone to Excel sheet, you can use the QueryImportExportCellInfo event. Please refer the below code and sample for reference.

Code Example :

gecc.QueryImportExportCellInfo += newGridImportExportCellInfoEventHandler(gecc_QueryImportExportCellInfo);


void gecc_QueryImportExportCellInfo(object sender, GridImportExportCellInfoEventArgs e)

        {

            IRange range = e.ExcelCell;

            //grid tooltip value has been assigned to excel cell value.

            range.Value = e.GridCell.CellTipText.ToString();

            e.Handled = true;

        }
Sample :
http://www.syncfusion.com/downloads/support/directtrac/149034/ze/CS-809662040



Regards,

AL.Solai.


Loader.
Live Chat Icon For mobile
Up arrow icon