Free Support Forum - aspose.com

Cursor in GridWeb Cell

I am using GridWeb in an ASP.NET application.

When I want to edit the text in a cell, 3 clicks are needed:

- The first selects the cell

- The second places the cursor at the end of the cell

- The thirs places the cursor in its correct location where the user wants to edit

Could you please advise how I can remove the need of these multiple clicks, possibly through a script. If possible I would like to avoid having to upgrade to a new GridWeb version...

Hi,


Thank you for your interest in Aspose products.

We have logged a Ticket under ID CELLSNET-28392 for your said issue. Our development team will soon look into this problem and will provide you a solution in form of a script as you have required. Also, we will keep you posted on this.
Hi,

Here is a solution via 2 clicks to locate the text in a cell. We have tested this with IE6 and IE7. Please feed us back with your results. Thank you.

OnCellSelectedClientFunction="cellSelected"

function cellSelected(cell)

{

if (window.event != null && window.event.type == "click" && window.event.button == 0)

{

cell.fireEvent("onclick", window.event);

}

}

The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan