Search
5738 results 301-310
Forum
- 18th Aug 2025Set paging to show more page numbersThanks for the update - good to here you found the issue. I don't think I'd have been able to figure that one out without a link to a page showing the issue. Allan
- 12th Mar 2025clicking the paging buttons is adding classes to TDs@kthorngren moving the declaration for type above my initialization solved the issue. Thank you so much!
- 4th Dec 2024DataTable initialization calls draw twice because of pagingThis example with server side processing and stateSave doesn't exhibit that behavior: https://live.datatables.net/yaroyala/67/edit It just goes to the page saved by stateSave. There must be something more happening on your page. Maybe you have an event firing that is calling draw(). Can you post a link to your page or a test case so we can take a look? Feel free to update my example. https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case Kevin
- 9th Oct 2024Collumns missalignment using scrollCollapse, scrollY and pagingPerfectly fixed <3 Thanks, @allan
- 13th Sep 2024Table columns not shrinking when paging in DataTables 2I'm having an issue while migrating from 1.13.4 to 2.1.6 where the table expands beyond the width of the bounding div, even when there are columns that could be made narrow enough to fit it within the div. The columns appear to not shrink smaller than the original width, but expand as needed. I have not had this issue with 1.13. Here is an example using 2.1 - you'll have to reduce your screen size to ~680px wide for the effect to be obvious. The first page has relatively narrow items in the first column and long items in the second column. When you go to the second page, the items in the first column are wider, so it expands the column width to accommodate them. The second column now has narrower items, but doesn't reduce in size, causing the table width to grow. https://live.datatables.net/vakiqequ/2 Here is an example using 1.13, where the table stays the same width the entire time, shrinking the second column to accommodate the wider first column. https://live.datatables.net/calonuna/1
- 28th Aug 2024datatables website search paging broken.Awesome. Thank you for fixing that. It will be so much easier to search the forums now.
- 9th Aug 20242.1.3 BUG: Pagination Breaks When Trying to Hide Disabled Paging ButtonsTry: li.dt-paging-button.disabled { visibility: hidden; } https://jsfiddle.net/8bxpacn6/ I think the use of display: none is messing with the responsive calculations and confusing the code as it was never designed to handle such a case. Regards, Allan
- 24th Jul 2024Fixed columns not working with pagingI forgot to post back - sorry... It is fixed now! There was an integration problem with server-side processing when server-side processing was enabled. Allan
- 18th Feb 2024Overall width (including search and paging) limited to table widthI'm not sure what w-auto is but maybe you can place it on the div container for the table, ie <div id='main'>. Or create a new container div, for the table, that is the width you want. Set style="width:100%" on the table tag as shown in this example. This should keep the Datatable and components like page length within the defined container. Kevin
- 7th Jun 2023Question about a problem related to DataTables Paging ...Yup, I successfuly fixed it. Thank you very much for the instantenous feedback!