Free Support Forum - aspose.com

Enabling server side double click only in some columns

Using GridWeb,

I need to handle cell double click event only for certain columns, rather than for any cell in the grid. The event handler is attached to the grid, so I end up doing unnecessary round trips to the server, and since our grids generally have lots of rows a significant and unnecessary 2-3 delay in rendering the grids client- side. Can I filter what will / will not be posted to the server in the OnDoubleClickCellClientFunction?

Hi,

Thanks for your query.

We need to check and investigate your demand, we will let you know about it soon. I have logged it into our tracking system with an id: CELLSNET-17572.


Thank you.

Hi,

The OnDoubleClickCellClientFunction will not post data to server when fired. You can use the following code to filter the specified columns to fire the event.

function ondblclickcell(cell)
{
var col = GridWeb1.getCellColumn(cell);
if (col == 1)
{
alert("fire event");
}
}