Datatable child rows integrate with React
Datatable child rows integrate with React
George011
Posts: 3Questions: 1Answers: 0
Hi, i want to implement child rows in React. Is there any possibility ?
It should look like this:
https://datatables.net/examples/api/row_details.html
Answers
Child rows are just additional data associated with the record that is displayed when the child is open - whether React is in use or not, that would still be the case.
Could you explain a little more, ideally with an example, what you're trying to achieve please. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin
Something like this i want to achieve but without jquery code inside react component.
https://therichpost.com/reactjs-datatable-row-expand-working-demo-with-source-code/
componentDidMount() {
} );
}
See if this example helps remove the jQuery code.
Kevin
This example is pure js, i need react code to implement a datatable with child row