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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to Export to EXCEL Grid Control Tooltip values

Thread ID:

Created:

Updated:

Platform:

Replies:

121550 Dec 29,2015 12:29 PM UTC Dec 30,2015 08:45 AM UTC WinForms 1
loading
Tags: GridControl
Mythili
Asked On December 29, 2015 12:29 PM UTC

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..

Solai A L [Syncfusion]
Replied On 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.


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;