Hi ,
I want a simple example to handle the cell clickevent in webgrid and get the data from that cell to display in a window.I am using visual studio2005 and Infragistics 8.2 version.Can any one please send me the solution.Any kind of suggestion is appreciated.Thanks in advance.
You can handle this client side, by first setting the handler for the grid's ClientSideEvent and then adding a javascript function in your page. If there's something you want to do server side I recommend you to use the client side handler to call your server method, since the Click handler for the grid will handle any click no matter if it's a cell, header, footer, row selector, etc.
1. grid.DisplayLayout.ClientSideEvents.CellClickHandler = "GridCellClickHandler";
2. function GridCellClickHandler(gridName, cellId, button){
var value = cell.getValue();
}