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 #1113862
Sorting returns to First Page
Closed

Comments

  •   Eli Marie started the conversation
  • [deleted] replied

    Hi Eli Marie,
    Thank you for the purchase.

    I don't think I understood it clearly. What kind of issue do you have? I tried to sort pages and then to change them but it seems that everything works fine for me. Can you describe it in more details?

    Thanks.

  •  2
    Eli Marie replied

    HI Milos,

    Does the sorting function sort ALL the data and not the current data within the page?

    Thanks,

    Eli

  • [deleted] replied

    Hi Eli Marie,

    Now I understood your questions. Yes sort feature will sort the whole table. That is how datatables library that we are using is working.

  •  2
    Eli Marie replied

    Hi Milos,

    Understood. But if I use MySQL query, can I achieve what I want?

    Also, another question. As you can see, I have checkbox column at the start of the table. My goal is to be able to 'select all' or select rows I want and update them all at once using a form. My question is, is it possible to add a simple form together with the filter input fields?

    Thanks,

    Eli

  • [deleted] replied

    Hi Eli,

    Understood. But if I use MySQL query, can I achieve what I want?

    - Unfortunately no, when you perform sorting feature on the table it will always get beck you to the first page.

    Also, another question. As you can see, I have checkbox column at the start of the table. My goal is to be able to 'select all' or select rows I want and update them all at once using a form. My question is, is it possible to add a simple form together with the filter input fields?

    - No out of the box, only one row can be edited at the time out of the box, but it can be accomplished with some custom coding. You can take a look how modals and editing works in the front-end in file ../wp-content/plugins/wpdatatables/assets/js/wpdatatables/wpdatatables.js and to customize it by your needs. 

  •  2
    Eli Marie replied

    Hi Milos,

    Okay, noted. Thanks!

    Eli