I have a requirement, where I have a datatable and inside the first row in the datatable, on click on an image, I need to expand the row and display a sub datatable. With the inputs that was provided, I have created a datatable and was able to expand the row as well. But The subdatatable is not getting rendered. The code related to this is specified below.
The above code is where the logic for expanding the rows. Below is the code where we are creating the datatable manually via the backing bean
Below is the getter and setter method for rendering the datatable
Using the above code the Row expansion is happening fine. But the Datatable is not getting rendered in the expanded part.Also I tried some sysout statements and was able to find that the values that are set for the subtable are getting rendered fine. But the datatable is not getting rendered . Can you please let me know how to get the datatable rendered in this screen. Thanks in Advance