• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to get a dynamic data table populated base on rowid selection from first data table  RSS feed

Nupur Olga
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a page in which there are 2 data tables and based on the rowid selected for the first data table the second data table should be populated below.

The javascript which I used is

I have made a hidden button on click of which the second table is to be populated:

the rest jsf page code is :

The java page code is as follows:

Now only the first table details are displayed with the first row selected by default but the second data table is not getting displayed.
Is there any suggetsions or any simpler way of doing this.Please suggest.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!