This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JSF and the fly likes Fetching Rownumber of a Datatable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Fetching Rownumber of a Datatable" Watch "Fetching Rownumber of a Datatable" New topic
Author

Fetching Rownumber of a Datatable

Vinodh Sa
Ranch Hand

Joined: May 06, 2010
Posts: 55
Hi All,
Can anyone tell me how can i fetch the id (along with row number) of a radio button group which is inside a h:datatable. Say there are 4 rows in a datatable, if i click on the radio button in row 3 of that datateble, then i want that row number 3 in javascript. Can anyone help me with this ?

Thanks, Vinodh
[Servlet tutorial]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Fetching Rownumber of a Datatable