Holiday Notice – Support Unavailable on April 18 and April 21

We just wanted to let you know that our support team will be offline on Friday, April 18th (Good Friday) and Monday, April 21st (Easter Monday) due to the holidays.
We'll be back on Tuesday, ready to assist you!

In the meantime, if you need any help, feel free to:

Amelia YouTube Channel

wpDataTables YouTube Channel

Thank you for your understanding, and we wish you a wonderful holiday weekend!

Okay
  Public Ticket #1476506
Displaying data depending upon a date field - 2
Closed

Comments

  •  1
    RiverboatCaptain started the conversation

    Hi,

    I have been experimenting with the conditional filter, so that if a date in a cell is in the past (i.e. < %TODAY%), I can add a CSS class to that row, and make the row invisible by making that class "display: none;"

    If I set the table to initially show All rows, this works fine.

    But my table is large, so I need to set it to show 25 rows with pagination. Here is the full table with no filter:

    http://newzealandcruiseassociation.com/schedule/

    I made a filter which says if Arrival < %TODAY%, set CSS class to 'gone' and do not display that class.

    When I apply the filter, this gives pages where no rows show. If I paginate through them, I eventually reach "today", and the rows start to show again. Here is another table, showing what happens.

    http://newzealandcruiseassociation.com/time-test/

    If you go through the pagination, you will eventually reach the data from %TODAY% and afterwards (it's page 24)

    Is there a way to have the data from %TODAY% and afterwards show when the table loads on the page, so I can keep the pagination of 25 rows?

    Kind regards

    Keith



  •  472
    Isidora replied

    HI Keith,
    Thank you for your purchase.

    Unfortunately, there is no such a option with built in features of plugin, but you can set option Use as default sorting column on SORTING tab in column settings for that date column and set option Default sorting direction to Descending order.

    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables