Search
43826 results 7281-7290
Forum
- 13th Oct 2014Table example doesn't workI Downloaded an example from: http://datatables.net/download/download DataTables-1.10.3 I tried to test the example to export data into file, the example is here /DataTables-1.10.3\extensions\TableTools\examples All its ok, but the button to export doesn't work, just print button. I don't know what is wrong, is the original example, and I tried to do other examples, its the same, the buttons doesn't work. Someone has a functional example. Please!!!!!!!
- 29th Sep 2014How to initialize table from JSONHi, I'm trying to create datatable (columns and rows) from JSON string that is produced by server-side script. I get the following error on Firefox debug: "TypeError: e[i] is undefined....jquery.dataTables.min.js Line 62" I use JQuery Ajax -> success - funktion where I initialize the datatable using the string that server returned: $('#eventReportResultTable').dataTable( json ); My JSON is like this: { "data": [ { "0": "1", "1": "01.04.2014 12:23", "2": "djk34kll", "3": "JKL123", "4": "Access granted", "5": "Somename" }, { "0": "2", "1": "01.04.2014 13:18", "2": "djk34kll", "3": "JKL999", "4": "Access granted", "5": "Somename 2" } ], "order": [0, "asc"], "columnDefs": [ { "targets": "0", "title": "ID" }, { "targets": "1", "title": "Time" }, { "targets": "2", "title": "Device" }, { "targets": "3", "title": "Useid" }, { "targets": "4", "title": "Event" }, { "targets": "5", "title": "Person" } ] } I'm using DataTables version 1.10.2 thanks
- 19th Sep 2014Can we maintain fixed no of rows for that data table even though there is no dataHi Allan, Can we maintain fixed no of rows even though there is no data.What I am trying to achieve is every page should maintain 8 rows even though there are less than 8 records for a page. I want the same replication while searching and sorting.. Currently I am able to achieve 8 rows for the first page when the page loads by this script.. var noOfRows=$('#orderSummaryDetails tr').length; if(noOfRows<11){ for ( var i = 0; i < 9-noOfRows; i++ ) { $("#ordersList").append(""); } } How can i run the same function when user click on the next page.?
- 8th Sep 2014DataTable row details not working after first table pagehi there, i have a datatable row details, and it worked good, but when i added a jquery link to the page - rows details from page 2 and over not working! the jquery link is: "../js/jquery-1.10.2.js" This link is necessary for other things in the html page. why this link causing problems, and how to fix it? tnx!
- 3rd Sep 2014data table responsive with bootstrapi don't know why tables are not responsive in my interface that use bootstrap ..... i add all js file required (i must respect a particular order of js o css files ? ) the problem is that the columns excess from the viewport when i tight the window does'nt work like a child rows . Please help me thank you
- 2nd Sep 2014Convert Timestamp to date (dd/mm/yyyy) and display in one column of table"columns": [ {"data": "timeStamp"} ]
- 20th Aug 2014Data is not getting displayed in table with the following json object typeHI, My json data is as follows, "data" : [ { "countrycode" : "VU", "language_support" : [ "English","Spanish" ] }, { "countrycode" : "VN", "language_support" : [ "French", "Spanish","Russian"] } ] I want to show the data in Datatable but the josn is not getting displayed I am getting blank data displayed in screen. Please let me know how I can get the data and manipulate it to display in cell. Please provide a piece of code to display the above mentioned data.
- 19th Aug 2014Help! Clicking on on column heading now filters table. Why?Help! Somehow when I click on my table's columns to reorder, it filters out everything! I have looked through my code for an event handler that captures this but cant find anything. I can not post the code, but have recorded its behavior. Can anyone suggest what I might look for/implement to fix this?
- 12th Aug 2014populate table with data from JS objectHello, i am trying to populate the datatable with data i get from a JS object but i dont quite get how to do it.. tryed few suggestions but none of them gets the result. Can any one take a look at this js fiddle http://jsfiddle.net/hbpjsjx0/ Thank you
- 11th Aug 2014(Bug)Responsive table extensionso yea i found i think its a bug (http://editor.datatables.net/examples/simple/responsive.html) so whenever I un-collapse to show the details i get an [object object] (shown here: http://i144.photobucket.com/albums/r172/izentaishi/1-2.jpg) but when its normal it goes back and show the data (shown here: http://i144.photobucket.com/albums/r172/izentaishi/2-2.jpg) my code {data: null, render: function ( data, type, row ) { var convertPeso = '₱'+data.totalamountdue.replace('Php', ""); return convertPeso; } }