ScrollX and header/column width

ScrollX and header/column width

ECEGROUPEECEGROUPE Posts: 78Questions: 29Answers: 1
edited February 2023 in Editor

Link to test case (with inline editor) : http://live.datatables.net/sabuboru/1/edit

  • Problem N°1 -> On the column position ( where you have a dropdown to select the value + a button to validate) :
    If scrollX: true -> the header doesn't have the correct width to match with the collumn width (see image bellow)

    the problem also happen without the button to validate :

    BUT the problem doen't happen if scrollX isn't enabled (see image bellow)

    Question -> Is there a solution to work with scrollX ? Because my table have many columns (20+) so i need to use it.


  • Problem N°2 -> On the column Date (where there is only date) if you click on the date, this happen :

    It's a bit random, depending on the selected date (1 or 2 digit) and if there is already another date in the table.

    Question -> How to fix this ?

Thx for your answer / time :)

This question has accepted answers - jump to:

Answers

  • allanallan Posts: 63,494Questions: 1Answers: 10,470 Site admin
    Answer ✓
  • ECEGROUPEECEGROUPE Posts: 78Questions: 29Answers: 1
    edited February 2023

    I have a problem, i want to submit another question on the forum BUT for that i need the test case i have created above with ssp (or the one in your answer) but it seem to doesn't work anomore, why ?
    I have changed nothing so the test case with ssp should work... (many console errors, look like scripts doesn't work)

  • kthorngrenkthorngren Posts: 21,324Questions: 26Answers: 4,949
    Answer ✓

    There were some changes to allow for HTTPS access to the test cases. The error is caused by loading jquery.js with HTTP. Changed it to HTTPS here:
    https://live.datatables.net/sabuboru/6/edit

    Kevin

Sign In or Register to comment.