How to use fixed header, table scrollbar and filter column at a time

How to use fixed header, table scrollbar and filter column at a time

HarshithaMHarshithaM Posts: 2Questions: 1Answers: 0

Use these all things at a time

Answers

  • HarshithaMHarshithaM Posts: 2Questions: 1Answers: 0

    And responsive also with those things

  • allanallan Posts: 63,434Questions: 1Answers: 10,458 Site admin

    Taking this example as a base, it is just a case of enabling scrolling and Responsive: https://live.datatables.net/junuvoce/1/edit .

    Allan

  • AshaMAshaM Posts: 9Questions: 2Answers: 0

    for this Horizontal scrolling is not taking ...For this example how to enable horizontal scrolling and need to add table class instead of display class or with display class

  • allanallan Posts: 63,434Questions: 1Answers: 10,458 Site admin

    Horizontal scrolling is not taking ...

    Because it isn't enabled. But then, you can't have both horizontal scrolling and Responsive enabled. The whole idea of Responsive is that it collapses the table so that there is no need for horizontal scrolling.

    Allan

  • AshaMAshaM Posts: 9Questions: 2Answers: 0

    Enable horizontal scrolling and disable responsive

  • allanallan Posts: 63,434Questions: 1Answers: 10,458 Site admin

    Well, that would be a case of adding the scrollX option and disabling responsive.

    Allan

  • AshaMAshaM Posts: 9Questions: 2Answers: 0

    horizontal scrolling is enabled ..i need to change active row background color

  • AshaMAshaM Posts: 9Questions: 2Answers: 0

    how to change active row background color for above fixed header, scrollable and filter column table

  • allanallan Posts: 63,434Questions: 1Answers: 10,458 Site admin

    When you say the active row, I don't know what you mean. Do you mean the hover colour, or a selected row (using the Select extension for DataTables)? Or something else.

    Allan

Sign In or Register to comment.