Child row data undefined

Child row data undefined

ZulfahmiRadziZulfahmiRadzi Posts: 6Questions: 2Answers: 0

Hi, this is my first post here. I'm quite new to this child row function. I need to output child row that based on parents id table. The child rows data is from another table. I've tried following this example. But my table didn't work.

Here is my progress so far. I've used the developer tools on chrome to check on my child row data, its working meaning that the data is already in json type. I just didnt know how to put them in child row. Any assistance in this matter is greatly appreciated :smile:

Answers

  • allanallan Posts: 61,920Questions: 1Answers: 10,152 Site admin

    The code isn't running on the test case, but likely you are attempting to add information that doesn't exist in the data set. If you can show me the returned JSON from data3.php for the child row, that would be useful.

    Allan

  • ZulfahmiRadziZulfahmiRadzi Posts: 6Questions: 2Answers: 0

    Sure. this is how the data looks like

  • ZulfahmiRadziZulfahmiRadzi Posts: 6Questions: 2Answers: 0

    Okay, I solved it. it seems like i made a mistake on data3.php. there is nothing wrong on the javascript in the test case that i mention above. Thank you for mentioning the returned JSON, it does kick something in my brain.

This discussion has been closed.