Child row - Display ArrayList items in a separate rows
Child row - Display ArrayList items in a separate rows
sowmya_satyam
Posts: 1Questions: 0Answers: 0
I have datatable that generates data from serverside (JAVA/JSP). I have a column that is being displayed as childrow has an arraylist of items. right now it is being displayed as a single row ([........],[.........] etc.,)
I want them to be listed each in a separate row. Any help is appreciated
This discussion has been closed.
Replies
Assuming you are using the format function like in the example you would loop through each element in the array to create its own
tr
that is appended to the string representing thetable
. Once done with the loop then return the string.Kevin