As previously announced via banners and our newsletters, support is no longer available through this platform.

For easier navigation, you can still click on "Submit a Ticket" here, choose the appropriate category, and you'll be redirected to the correct support channel for your plugin.

You can still access your previous tickets and browse public tickets, but please note that responding to tickets is no longer possible.

Paid customers: Please log in to your store account for support.

Pre-purchase questions: Use the support widget in the bottom-right corner of our websites:
https://wpamelia.com
https://wpdatatables.com
https://wpreportbuilder.com

Okay
  Public Ticket #2361137
Datatables ID
Closed

Comments

  • Elise started the conversation

    Hello

    I created few datatables, deleted someones.

    Today, I deleted the table with ID 6.

    But the table with ID 7  was suddenly emptied of its contents...

    I looked directly at the database with phpmyadmin.
    and surprise : there is no correlation between id on the wordpress administration and id in the database.

    For example, in the sql database, the wpdatatable_5 has the ID 8 in Wordpress.

    Other example :

    I want to change the name of the [wpdatatable id=12] but it's impossible because "wpdatatable_4_1' doesn't exist" .

    It's a real mess. 

    Elise


  •  2,576
    Aleksandar replied

    Hi Elise

    Not all wpDataTables are stored in the database. Tables linked to an existing data source are not saved in the database, but they still need an ID for the shortcode. So, if you have 3 manual tables, then 4 tables linked to an existing data source, and then another 3 manual tables they would look like this in the plugin:

    [wpdatatable id=1]

    [wpdatatable id=2]

    [wpdatatable id=3]

    [wpdatatable id=4]

    [wpdatatable id=5]

    [wpdatatable id=6]

    [wpdatatable id=7]

    [wpdatatable id=8]

    [wpdatatable id=9]

    [wpdatatable id=10]

    But in the database, you would have only these:

    wp_wpdatatable_1 - [wpdatatable id=1]

    wp_wpdatatable_2 - [wpdatatable id=2]

    wp_wpdatatable_3 - [wpdatatable id=3]

    wp_wpdatatable_4 - [wpdatatable id=8]

    wp_wpdatatable_5 - [wpdatatable id=9]

    wp_wpdatatable_6 - [wpdatatable id=10]

    Duplicated tables receive a _1 after each duplication, so if you duplicate table 1, you will have

    wp_wpdatatable_1 and wp_wpdatatable_1_1

    You can see the database name when you go to "Editing" tab above the table.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

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

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables