The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript jQuery Datatables Plugin

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #33544

    I’m having trouble figuring out how to work with the Datatables plugin for jQuery in the fact that I need for example if there are 3 numbered page links which would have the First, Previous, Next, Last links as well. If you were on page 1 then the First, Previous buttons should only have the pagination_button_disabled css applied to it but instead it ALSO has the paginate button and then the first or previous css style as well. I just want the first and last to have a css style of paginate_button_disabled if you are on page 1 and obviously revered if you were on page 3 then Last and Next should be disabled.

    If you notice it has the disabled styles crossed off when it shouldn’t because with the table having no data then all 4 of those buttons should be disabled.

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.