Search
43575 results 7181-7190
Forum
- 29th Oct 2015¿It's possible to have an horizontal scroll bar on top of the table?I see there is a closed post in the forum dating 2013 and I want to know if there are improvements in that point.
- 25th Sep 2015How to change datatable settings like 'pagingType' after table initialization using apiI would like to change my tables pagingType to simple if the window is smaller than x width. (actual I would like to know how to change any settings) my window example : $( window ).resize(function() { if ( $( window ).width() <= 1183 ) { $.fn.dataTable.defaults.??? = 'simple'; dtable.draw(); }
- 31st Aug 2015Export all database table data by just clicking export excel button.Hi, I have gone throw many posts but I didn't find the solution for my below question "How can I export the all data which is there at sever side? I have paging at my page so I always load minimum amount of data to the datatable. But when I click on export I need to export all the data available at server side". Can some one help me how can I do it, or please provide me some solution.
- 27th Aug 2015DOM initialized table / Export (pdf, excel...) button / stripNewlines optionMy datatable is DOM initialized. Some <td> contains markup block elements (like <div>) and line break elements (<br>). I extend the 'pdf' button with option stripNewlines: false. Newlines are not preserved in exported file Test case: https://jsfiddle.net/nlips/dsy3bwt0/
- 25th Aug 2015Join Table, The select field doesnt responDear Mr. Alan wish you're doing good ! This is my php file respon on browser http://pastie.org/10374065 This is my html code http://pastie.org/10374069 here'is my php code http://pastie.org/10374073 The probles is when I create new entry or edit the option list for Label Id Jabatan doesn do dropdown, and the console say nothing
- 21st Aug 2015keyboard tabstop -1 for table thead but 0 for table bodyHi I want users to click column headings to sort, but bypass them with the tab key to select rows. Any help welcome Thanks G
- 20th Aug 2015TableTools: translation of TABLE COPIED and Copied X rows to the clipboardHello, I would like to ask if can be translated the text displayed in TableTools in the same way is done with .json files? Thanks. Gabriele
- 20th Aug 2015How to filter the table and display only those records which satisfy particular condition?I want to implement if (fileType != X), then only display record else move to another. Following code is already working in present solution and i am bound to update it only. columnDefs: [ {"width": "30%", targets: 0}, {"width": "30%", targets: 1}, {"width": "30%", targets: 2} ], columns: [ {"data": "fileType"}, {"data": "fileName"}, {"data": "fileDate"} ], aoColumnDefs: [ { "aTargets": [ 1 ], "mData": "fileName", "mRender": function ( data, type, full ) { return '<a href="'+full.link+'">'+full.fileName+'</a>'; } }] The functionality is that after Ajax calls, JSON data is received and gets populated using datatables. How can i implement if (fileType != X) in above snippet? Thanks in advance. Sorry tried to format question but unable too.
- 20th Aug 2015Defer load table from external url to reduce bandwidthHello; I am using a jQuery plugin which is datatables, and i use it that way : $('table').DataTable( { "ajax": "table.txt"}); This work fine because the file table.txt is located on the same directory as my javascript script in my hosting directory. But because the file table.txt size is important, this will consume me a lot of bandwidth so the idea i have is to host it in an other location for example a CDN or dropbox and then call it, for example like that: $('table').DataTable( { "ajax": "http://dropbox/cdn/445587215/table.txt"}); But it doesn't work because I think jQuery cannot request files which are located outside of the current running domain name for security reasons, so the idea that come to my mind is to host both the javascript file that make the call to this table.txt file on the same folder on the CDN and then just include the javascript file using the tag like: Do you think that this will work ? or can you advice me for a better approach ? Thank you
- 1st Jul 2015Table tools return "undefined" on url while exportingHello, I have a problem with TableTools on exporting. When I click to the button it return an "undefined" on url and a 404 error. I'm using wordpress. Anyone can help me to fix this truble? ttp://login.todos.it/visualizza-interventi-inseriti/ usr. mario pwd. mariorossi