Search
5703 results 391-400
Forum
- 21st Nov 2009set number of rows while paging tableyes ,exactly :) thanks
- 17th Sep 2009Enabling variable entries in paging functionHi Sally, You can do it by making use of the oLanguage.sLengthMenu initialisation parameter: http://datatables.net/usage/i18n#oLanguage.sLengthMenu Regards, Allan
- 21st Jan 2020Duplication of datatable search and paging with the saved page of my websiteI need to use saved pages of website for future reference but my saved page has duplicate search,paging how can I avoid getting like that please help me with this
- 9th Jan 2019Reposition Search Box, Page Length, Info & Paging ElementsI've been researching how to perform these actions, but finally I simply turned my chair 90 degrees to the right and asked a colleague who is pretty savvy at JavaScript and CSS. He suggested 1 thing which worked and now I'm going to share with everyone since everyone has their own answer but none solved my issue. Problem: You've implemented ajax web service, your datatable is fine, but the Search box is way off to the right and page length way off to the left, same with info and paginate. Doing the dom: l, f, i, p thing isn't going to solve it, trying to modify the actual CSS File isn't going to solve it. The answer is simple so let me past below. .dataTables_wrapper .dataTables_filter { right: 300px; position: relative; } .dataTables_wrapper .dataTables_length { left: 300px; position: relative; } .dataTables_wrapper .dataTables_info { left: 300px; position: relative; } .dataTables_wrapper .dataTables_paginate { right: 300px; position: relative; } </style> Leave the script references alone, the link references alone. All you need to do is literally copy and past this within the head of your html code. Reload the page and see that the elements have all shifted inwards. Play around with the right and left positions only. The position attribute should be left alone as it is used in conjunction with your right and left pixel definition. I'm by no means a javascript or css expert, I am more C#, full stack software developer. So when I find answers to complex problems I tend to want to share them as I know how frustrating it can be to find a solution to a really complex issue. This style tag will override the default positions of the elements and will allow you to design the look and feel of the datatable making your design look just as clean as it does in the examples within this site. Good luck everyone
- 15th Jan 2017datatable paging input issuegrade那列。第二个参数为 desc或是asc "sScrollXInner": "100%", "pagingType": "input", "sAjaxSource":"queryCreditAssociation", "bSort": false,
- 2nd Sep 2016Server side paging and filtering using DapperHas anyone done this successfully yet?
- 24th Aug 2016Only copy visible rows (selected paging), not all rowsMy project is still using tabletools. Currently it is deprecated. If it is a minor change, I would like to keep using TableTools. My export buttons are working but only print the visible rows. So if the grid data is in the second pagination, it only printed the second pagination. It looks like print only visible rows. How to print all rows (data) regardless which pagination index in the grid?
- 10th Jun 2016REG : remove paging save when StateSave = trueHi Allan, I want only save "Records per page" in my localstorage and all the information of datatable is saving like sorting, paging(ie page :2).. How can I implement that on Records per page is save ?
- 30th Apr 2016How to set the number of pages in the "numbers" paging type?Currently, I am setting the last page using below. However, its not being set. dataTableapplicant').on('page.dt', function () { var info = $rootScope.applicantTable.page.info(); info.pages = $rootScope.noOfPages;
- 3rd Nov 2015Remove rows when paging is enabledI'm facing an issue. I have the ability to delete row based on a class name. ie: table.rows($('.' + trackingId)).remove().draw(false); My problem is that the pagination is enabled and in this case, only the row with corresponding TrackingId of the current page are removed. Any idee how to solve that?