Search
5703 results 411-420
Forum
- 9th Oct 2013Images for Full Number PagingHi, I have a requirement where i need to show a different disabled images for first,next,prev,last with the full number pagination. Im using version 1.9.4 , We only have the option of specifiying the image in paginate_button_disabled class where only one image can be specified,the problem here is there is no seperate disabled class where i can specify a differnt disabled image . Is there a way to resolve the issue via the framework.
- 25th Jul 2013Paging and Scrolling Infinite togetherHello All, I read the preamble related to "Infinite Scrolling" and I understand that they do not currently work together. But has anyone implemented the changes to allow for this to be possible. -Michael
- 12th Sep 2012How to put the paging and add rows to delete a row function separatelyBecause the bserverside status reason, I am not able to customize call fnAdddata () and fndeleteRow ().
- 11th Sep 2012paging on reloadIm retrieving data from server and displaying all data in a table. Everything is working fine. But the problem is that Im manipulating data and doing a postback. After page is reloaded I want to maintain the page no. so that when page gets reloaded the table will show the same page before postback.
- 14th May 2012I am trying to use colreorder for three functions drag and drop, paging and multi sorting.for pagination And for sorting. But not able to find them Pls advice.
- 10th Jan 2012Row Numbers with Paging / iDisplayIndexFull confusing me?The fnRowCallback documentation says that iDisplayIndexFull is: [quote]int : The index of the data in the full list of rows (after filtering)[/quote] That lead me to believe that I could use it to accurately create row numbers regardless of page. I have an unfiltered grid with 45 rows spread across 5 pages. I'm using the following: [code] $(document).ready(function() { $('#example').dataTable( { "aaSorting": [[2,'desc']], "bProcessing": true, "bServerSide": true, "sAjaxSource": "datasource file", "sPaginationType": "full_numbers", "aoColumnDefs": [ {"bSortable": false, "aTargets": [0]}, {"sWidth": "40px", "aTargets": [0]}, {"sWidth": "180px", "aTargets": [1]}, {"sWidth": "85px", "aTargets": [2,5]}, {"sWidth": "95px", "aTargets": [3,4]}, {"sWidth": "100px", "aTargets": [6,7]} ], "fnRowCallback": function(nRow, aData, iDisplayIndex, iDisplayIndexFull) { var index = iDisplayIndexFull + 1; $('td:eq(0)',nRow).html(index); return nRow; } }); }); [/code] Yet, each row is numbered according only to the rows shown on that page. Am I using fnRowCallback incorrectly, or could this point to an error in my datasource file with indexing?
- 27th Dec 2011How to use input box or dropdown for paging?I want to direct access any page so I wants to use input box or drop down where user enter or select page number for view that page. Is this possible?
- 8th Sep 2010Paging customization when there is no total records countHi, I'm looking to replace a our home cooked data tables implementation with DataTables, but have an issue that we need to solve. As we can have very large result sets, it will be a server side backed table, where the server handles filtering, sorting and pagination. The presented table should have a four button setup, where you can move to First, Next, Previous and Last pages. I've seen the four button plugin to change the display to contains those 4 buttons. Now the problem with DataTables integration: We have a service layer that returns result pages from a database. Apart from the data, the response includes two booleans: is there page prior to the returned page ? is there a page after the returned page? What we don't get back, however, is a total records count, which the current server side code assumes, i.e., the iTotalRecords return value. The expected behaviour of the pagnination buttons in the table should be that First/Last are always enabled. Wheter Next/Prev are enabled should depende on the return booleans in the result set? What would be a good way to integrate our service layer with DataTables? Could it be handled by a plugin or would it require additional changes? Thanks, Filip
- 26th Jun 2025Added buttons CSS and JS, but Print button does not appearthe datatable still works (paging, searching, sorting, etc.), however
- 23rd Jun 2025Can't sort on 1 specific columnlet sorting, searching and paging to be handled client