I would like to create a dataTable with two data sources

I would like to create a dataTable with two data sources

hellowendy1227hellowendy1227 Posts: 1Questions: 1Answers: 0

Supposed I have two data sources and had foreign keys between them... Now I create a dataTable which is like:
$('#example').dataTable({
dataSource: dataSource,
columns: {
.......
}
})
I hope to make dataSource contains my two data sources..

I saw another example like this..
https://datatables.net/forums/discussion/comment/95160/#Comment_95160
but it doesn't work on me...
Any help will be appreciated!

Answers

  • colincolin Posts: 15,237Questions: 1Answers: 2,598

    Hi @hellowendy1227 ,

    When you say it doesn't work, could you give more details - why doesn't it work?

    Cheers,

    Colin

This discussion has been closed.