We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to Hide Mouser over tool tip?

Hi All,

Am using Aspose Grid Web “Aspose.Cells.GridWeb.2.7.13.2004”,

on this while i moving the mouse over grid, in Tool tip is showing Formula which is writen in the cell,How can I remove or hide Mouser over tool tip in Aspose.

Thanks in Advance,
Nandha.

Hi,

I think you may try to update "acwmain.js" in the "acw_client" folder for your needs.
e.g
Update the setCellTitle function in it, i.e.., add: if(ctype!=null)return; to avoid further action to set cell's tip for the cells with validation types.

I have attached the updated "acwmain.js" file, just use this file for your needs.

Hope, this helps.

Thank you.

Thanks for the update Amjad Sahi,

I have replaced the file "acwmain.js" in my project,

but till tool tip is displaing with Formula, Screen print attched.

Thanks,

Nandha.

Hi,


Could you create a simple project to show the issue. Also make sure you have used the updated “acwmain.js” file which was attached in the last post.

We will check your issue soon.

Thank you.

Hi,

I have attached the sample application,

kindly add "acw_client" folder and "Aspose.Cells.GridWeb.dll" under project,

Update excel file path in AsposeGridTest.aspx.cs page with your file location, and run the project.

Move the mouse over formula column, on tool tip Farmula will be displayed.

Thanks,

Nandha.

Hi,



Thanks for your sample project and using Aspose.Cells for GridWeb.

If you want to hide the formula tip, then please set the DisplayCellTip property of GridWeb to false.

By default, it is true so once you set it to false, it will hide mouse over tool tip and your problem will be resolved.

Please see the following code for more help. I have highlighted GridWeb.DisplayCellTip property in red color.

C#


using System;

using System.Collections.Generic;

using System.Linq;

using System.Web;

using System.Web.UI;

using System.Web.UI.WebControls;

using System.Data;

using System.Data.OleDb;


public partial class AsposeGridTest : System.Web.UI.Page

{

protected void Page_Load(object sender, EventArgs e)

{

try

{

if (!IsPostBack)

{


TestGrd.EnableAJAX = true;

TestGrd.EnableAsync = false;

TestGrd.EnableClientColumnOperations = false;

TestGrd.EnableClientFreeze = false;

TestGrd.EnableClientMergeOperations = false;

TestGrd.EnableClientRowOperations = false;

TestGrd.EnableStyleDialogbox = false;

string pathinfo = Request.PathInfo;

if (pathinfo.StartsWith("/"))

pathinfo = pathinfo.Substring(1);

if (pathinfo != “acw_ajax_call”)

{

TestGrd.DisplayCellTip = false;

TestGrd.WebWorksheets.ImportExcelFile(@“F:\Shak-Data-RW\Downloads\TestSample.xlsx”);

}

}

}

catch (Exception ex)

{

throw ex;

}

}

}

I have verified it working fine now,

Thanks Shakeel Faiz..

Nandha:

I have verified it working fine now,

Thanks Shakeel Faiz..

Hi,

Thanks for your feedback and using Aspose.Cells for GridWeb.

We are pleased to know your issue is fixed now. Let us know if you face any other issue.

We will be glad to assist you further.