Support » Plugin: WP-Table Reloaded » Disabling sort for selected columns

Viewing 11 replies - 1 through 11 (of 11 total)
  • oh yeah, here is my custom commands string:
    "aoColumnDefs": [ { "bSortable": true, "aTargets": [ 0, 1, 2, 8 ] }, { "bSortable": false, "aTargets": [ "_all" ] } ]

    it also renders all of the footer cells black.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your question!

    The reason for this seems to be that your theme also defines a background color for table cells in the first and last row. To again change that, please add the following to the “Custom CSS” textarea on the “Plugin Options” screen of WP-Table Reloaded:

    .wp-table-reloaded th {
      background-color: #E6EEEE !important;
    }

    Regards,
    Tobias

    doesnt seem to have an effect?

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    ah, my bad. Please try again with

    .wp-table-reloaded th {
      background: #E6EEEE !important;
    }

    Regards,
    Tobias

    that fixed the blackout issue. however it also removed the sorting indicators. though the functionality remains.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    ah, yes, forgot about that… Sorry.
    Then please try again with

    .wp-table-reloaded th {
      background: #E6EEEE !important;
    }
    .wp-table-reloaded .sorting {
      background: #E6EEEE url(http://www.elkriveradventure.com/wp-content/plugins/wp-table-reloaded/img/bg.gif) no-repeat center right !important;
    }
    .wp-table-reloaded .sorting_asc {
      background: #8DBDD8 url(http://www.elkriveradventure.com/wp-content/plugins/wp-table-reloaded/img/asc.gif) no-repeat center right;
    }
    .wp-table-reloaded .sorting_desc {
      background: #8DBDD8 url(http://www.elkriveradventure.com/wp-content/plugins/wp-table-reloaded/img/desc.gif) no-repeat center right;
    }

    That should really take care of everything now 🙂

    Best wishes,
    Tobias

    almost there. that restores the sort buttons…until u click on one. then it disappears for that column until u click on one from another column.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    argh, I forgot to add the !important keyword to the last two blocks.
    Last try 🙂 :

    .wp-table-reloaded th {
      background: #E6EEEE !important;
    }
    .wp-table-reloaded .sorting {
      background: #E6EEEE url(http://www.elkriveradventure.com/wp-content/plugins/wp-table-reloaded/img/bg.gif) no-repeat center right !important;
    }
    .wp-table-reloaded .sorting_asc {
      background: #8DBDD8 url(http://www.elkriveradventure.com/wp-content/plugins/wp-table-reloaded/img/asc.gif) no-repeat center right !important;
    }
    .wp-table-reloaded .sorting_desc {
      background: #8DBDD8 url(http://www.elkriveradventure.com/wp-content/plugins/wp-table-reloaded/img/desc.gif) no-repeat center right !important;
    }

    Regards,
    Tobias

    that did it! many thx!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    awesome! 🙂 Thanks a lot for the confirmation!

    Best wishes,
    Tobias

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Disabling sort for selected columns’ is closed to new replies.