hi,
iam using infragistics 2008
i used gridview to display the data
iam using image in link tag and iam calling one method
in that method i want to get the rowdata based on the user selection.
in normal jsf dataTable we have getDataTable().getRowData()
but in gridView can i have that Option..?
can we get the data of that row and typeCast to businessObject..?
pls reply,
thanks in advance
Hello vvsukku,
We can apply any one of the code snippet listed below in backing bean to get GridView row data.
1) grid.getRows(); 2) grid.getRowItem(component); 3) grid.getSelectedRows();
Few samples based on the same are posted in componentsforjsf.com (see below links).
http://www.componentsforjsf.com/WebAJAXExamples/faces/examplePages/ajaxWithSRM.jsp
http://www.componentsforjsf.com/WebGridExamples/faces/examplePages/RowSelectionWithPersistence.jsp
Thank you!
Do you have this functionality available now?
I need similar functionality to be implemented. I need to get row data or row index of a particular row in the grid view.
Hi mavillasarath, At this point we don't have such functionality to retrieve data using function similar to getRowData(). This feature will be soon available in our next product release or Hotfix.