Search
5738 results 411-420
Forum
- 11th Aug 2014Related to PagingHii If i am in page 2 and need to reload grid with some action then how can i come to current page after reload data tables in data tables
- 22nd May 2014Row Grouping and PagingFirst off, I would like to say thanks to anyone everyone who has contributed to the DataTables plug in. It gets my vote hands down as the best and most useful jQuery plug in. Now my question. I have a table that has 500 records. When grouped, it has 5 groups, each with 100 record. If I set it to page on 50 records per page, I get the first 50 records of the 1st group. What I think I would get is the first 50 groups, or in this case, all 5 groups. Example: http://jsfiddle.net/WOPiersol/33fD6/1/ Can this be configured? Thanks, WOPiersol
- 6th Nov 2013automatic pagingHow do automatic pagination, need to change the page of my tables automatically, without manual interference. My Souce... $(document).ready(function() { var oTable = $('#tbleitos').dataTable( { "bPaginate": false, "bLengthChange": false, "bFilter": false, //classificação de colunas "bSort": false, "bInfo": false, //largura inteligente "bAutoWidth": false, //envio de mensagens do Display "oLanguage": { "sProcessing": "Aguarde enquanto os dados são carregados …", "sLengthMenu": "Mostrar _MENU_ registros por pagina", "sZeroRecords": " - NÃO HÁ REGISTRO DISPONÍVEL PARA A DATA ATUAL - ", }, //configuração das colunas "aoColumns" : [ { "sWidth": "10px"}, null, null, null, null, null, null, null, null, null, null, null], "bProcessing": false, "bServerSide": true, //Aatualização em real-time "sAjaxSource": "consulta_cirurgias.php?sEcho=0" } ); setInterval(function() { //oTable.fnReloadAjax("consulta_cirurgias.php?sEcho=1"); oTable.fnDraw(); //dataTable.fnCreatedRow("consulta_cirurgias.phpsEcho=1"); //$('table.dataTable td').css('font-size', 70); },3000); //3 segundos } );
- 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?