datatable and firebase.
datatable and firebase.
Hai, i'm new with datatable and firebase. at this time i can retrive my data into datatable, but it just show me standar tabel without pagination. and also input search not work.
this is how i retrive my data into table :
dbref.on('child_added', function(snap){
var data2 = snap.val();
tabel.innerHTML = "<tr><td>"+data2.temp+"</td><td>"+data2.time+"</td><td>"+data2.date+"</td></tr>"
console.log(data2);
});
how to retrive data correctly using datatable ?
thanks..
Answers
I suspect you'll need to refer to the Firebase documentation. Are you successfully reading the data out of your database? If so, how are you attempting to give that information to DataTables?
Allan