Hi,
I am new to infragistics. I am using wegrid to display my data on the page. I have a requirement to fire an event on clicking anywhere on a row. I need to display the row data on a different panel on the page. I can work with a client side event (javascript as I have all the data on the page itself) or a server side even. Please help ....
You can do it client side .
If your row is editable you can use
{
alert("selected row index " +igtbl_getRowById(cellName).getIndex());
}
if your row is non editable u can use the following client side event
set ur client side events accordingly for ex:-
<ClientSideEvents CellClickHandler="CellClick"/>
Hello Srini,
The code you have provided is for ASP.NET's Infragagistics WebGrid. However, here the query is for Infragagistics JSF GridView.
Thank you.
Well I have the row index i clicked on. I also used the same approach as you. Now what i want is, either to trigger a server side method where i have the grid view bound to get that row data or if I can use client side scripting to iterate over the grid to get the data of that row.
One more thing the methods which you have used like igtbl_getRowById which js file do they belong to ?
I dont have a handle to those methods.