Child row - Display ArrayList items in a separate rows

Child row - Display ArrayList items in a separate rows

sowmya_satyamsowmya_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

Replies

  • kthorngrenkthorngren Posts: 21,309Questions: 26Answers: 4,947

    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 the table. Once done with the loop then return the string.

    Kevin

This discussion has been closed.