Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
how to get a selectedRow from a gridview when i click on image in a row ?
posted

 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

Parents
No Data
Reply
  • 1765
    posted

    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.

    But, we definitely have an alternate solution to this issue. Please visit below link i.e. online sample application 'Persisting Row Selection'. In this sample instead of <ig:columnSelectRow> we have used <h:selectBooleanCheckbox > in GridView. You will be able to meet your requirements by following this sample application and customizing backing bean and data bean. 

     

    http://www.componentsforjsf.com/WebGridExamples/faces/examplePages/RowSelectionWithPersistence.jsp 

     

    Thank you!
Children