Search
43745 results 7281-7290
Forum
- 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; } }
- 10th Aug 2014Can tabletools export cvs from a table with thead using rowspan&colspan?I use tabletools for exporting the cvs file ,but in my table's thead ,I use rowspan &colspan ,and the exported cvs file only have a row thead.code:http://paste.ubuntu.com/8008302/ willing to thank you for your answer.
- 25th Jul 2014how to set Data in table column after table created$("#reportTable").dataTable({ "sAjaxSource" : 'dataTablesAction.action', " sAjaxDataProp":"resultList", "sServerMethod": "POST", "deferRender": true, "scrollX": "100%", "aaSorting":[], "aoColumns": [ null, {"sClass":"td_totalamt totalamt", "mData": null,"sType" : "numeric"}, {"sClass":"td_totalplr totalplr", "mData": null,"sType" : "numeric"} ], }); I wana to add total player and total amount in last two column. Right now i am doing this work with jquery, but in this case sorting of perticular columns does not work . it sort according to first column. and at the time of sorting it change the width of these two column. if i use "defaultContent":"" in place of mData=null and set the data through jquery, width remain ok but sorting functionality does not works Please help and thanks in advance for help.
- 9th Jul 2014Search filter is including the table header rowI am using the default Search box and if text is entered that appears only in a column header text entry and not in any of the underlying rows, then no filtering takes place. Is this by design? Can it be configured to exclude the header row? Obviously, if it is not an expected result, I can work at isolating the issue in a standalone example and posting it. Ok, in a standalone example I have it working fine. I now need to figure what is breaking it.
- 5th Jul 2014On Button click popup not appear after reinitializing table.Solve
- 20th Jun 2014How to get ColReorder to work when using bDestroy and filling table againI'm using a lot of Single Page Applications these days, and I can get ColReorder to work fine with the default approach. Works great if the user closes their browser and re-opens the same page, or even if they press F5. But I have buttons on many pages that change the criteria for the grid data and re-fill the grid from a new Ajax call, having the bDestroy attribute = true. When I do this the column order changes are lost. I have tried initializing ColReorder with the dom attribute or with the "new $.fn.dataTable.ColReorder..." approach. I have tried using localStorage to reload the previous configuration, as well as many other approaches, but without success. Sorry to say I can't post a link and I'm totally stupid about how to put up a jsfiddle etc. Thanks, Bob Graham