Search
3636 results 181-190
Forum
- 29th Apr 2014Bug found in ajax modeOk, thanks for the information! Good luck with the release :)
- 5th Mar 2014Showing 1 to NaN of NaN entries, server side modeyes can't log on live.datables.net so i post the code here [code] // Server-side processing with POST $(document).ready(function() { $('#example').dataTable( { "sPaginationType": "bootstrap", "bProcessing": true, "bLengthChange": true, "bSort": true, "bInfo": true, "iDisplayLength": 10, "bPaginate": true, "bAutoWidth": true, "bServerSide": true, "sDom": '<"#thead"f>tipr', "ajax": "/ssp/objects.php", "aoColumns": [ { "sTitle": "Firstname", "mData": "first_name" }, { "sTitle": "Lastname", "mData": "last_name" }, { "sTitle": "Position", "mData": "position" }, { "sTitle": "Office", "mData": "office" }, { "sTitle": "Start date", "mData": "start_date" }, { "sTitle": "Salary", "mData": "salary" } ] } ); } ); [/code] [code] <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> <script src="http://datatables.net/download/build/nightly/jquery.dataTables.js"></script> <meta charset=utf-8 /> <title>DataTables - JS Bin</title> </head> <body> <div class="container"> <table id="example" class="display table table-striped table-bordered" width="100%"> <thead> <tr> <th>Name</th> <th>Position</th> <th>Office</th> <th>Age</th> <th>Start date</th> <th>Salary</th> </tr> </thead> <tfoot> <tr> <th>Name</th> <th>Position</th> <th>Office</th> <th>Age</th> <th>Start date</th> <th>Salary</th> </tr> </tfoot> </table> </div> </body> [/code] with this code in http://live.datatables.net/ i got: Uncaught TypeError: Cannot call method 'fnInit' of undefined
- 22nd Jan 2014Prefetching data in pipeline mode.Okay, good to hear that. I will need to dive a bit deeper into the code and see if I can come up with something. If anything, I'd share it here.
- 31st Oct 2012Returning a jQuery element from mRender 'display' mode?fnCreatedCell/Row are not called on fnUpdate so any jQuery configuration inside them that depends on the underlying data will not work when you fnUpdate the row/cell....
- 5th Sep 2012No access to page, and tables don't have thead - Assume first is thead mode?I basically did something like this, except I needed to retain the contents of the original "header" as it has i18n data in there already. There are a lot of non DT ways to accomplish things that DT can do. It's seems arbitrary for DT to have on it's list of prerequisites something that DT could handle if it wanted to, chopping off a prerequisite and/or workaround. I am not saying one should not code in a thead/th. Just saying it seems odd that there are cases where one would need to use jQuery to accomplish something explicitly to allow DT to even work. I really do think there are a lot of older large industry vendors who have tech that was coded 98 - 2005 that in most cases does not have a thead. I should say think - I know, because I am dealing with one that has a crapton of clients. These are vendors that move like molasses, but are not in a sexy industry that is attracting younger developers, so the UX/UI, and proper coding is left behind. Anyway, food for thought.
- 10th Nov 2011"Grid" mode?also curious that it maxes out at 3780px, which is 252px * 15 (max rows per page). 252px is the height of each row of the original table. I probably never had an issue with my heights simply because my row heights * iDisplayLength were less than my thumbnails' combined height. If this is the reason, then it's not really a bug and not anything you did wrong, simply that this issue only appears when your original row height is large and you move to a smaller row height by putting more than one thumbnail per line. Two fixes would seem obvious: 1) override the height on every draw (code in previous post) [this is the easiest fix for you, but I wonder if there will be flickering as the div resizes.. ?] 2) make your original table data take up less row-height - instead of outputting the images, you could output a row of text data (link, name, title, join date, id) then combine them together to create the thumbnail div on the client side.
- 27th Jun 2011IE 8 w/Compatibility Mode sort icons mess up headerJust a follow up, I didn't see anything in the release notes and have had no answer. Is there a status on this issue, or is it a non-issue in the scope of the project?
- 13th May 2011Serving CSV data in CGI modeVery nice :-). Thanks for writing up and sharing your working with us for this. Your method is nicely explained and I've added it to the DataTables news feed (on the home page). Regards, Allan
- 1st Mar 2016How could I not save individual filter in StateSave mode ?Hello, is there a way so that disable saving of individual filter content when StateSave is set to true ? just a little more informations : I don't use individual filter in footer but in header like that : $('#paqView thead tr#filterrow th').each(function () { $(this).html('<input class="form-control input-xs input-search" type="text" placeholder="Rechercher" />'); }); Thanks a lot for your answer.
- 4th Feb 2016PostBack does not remove edit modePostback is returning as a 200 but its not refreshing grid to set it back to readmode. Editmode is still enabled for the cell.