Hi!
I have a cellButton in a webgrid. I have specified the row select to the cellClick event.
If i click the cellButton, the row gets also selected. How can i avoid this!
Thanks!
You could handle the client side event ClickCellButtonHandler but I think it would still deselect any already selected rows.
ClickCellButtonHandler(gridName, cellId)
var cell=igtbl_getCellById(cellId);cell.Row.setSelected(false);
}
I did some more research and it looks like you could handle the BeforeSelectChange event and return true but I don't know how you'd determine whether the id being passed in is the cell button.
Something like this I suppose.
function BeforeSelectChange(gridName, id){
if (id=="YourButton") return true;