WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Internal Assending Sequence Number

[Resolved] Internal Assending Sequence Number

  • JGravesNBS

    @jgravesnbs

    Questions:

    Do I understand there is an internal assending sequence number that is assinged to each table row item when importing and while manupalting the rows in TablePress, Admin, Table Content?

    And this is how the table gets back into its original sequence if the user viewing the site sorts a field and refreshes the screen the table row items redisplay into their original sequence?

    What tables do you create and use in the SQL database?

    http://wordpress.org/plugins/tablepress/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TobiasBg

    @tobiasbg

    Hi,

    thanks for your question!

    I’m not really sure that I understand…
    No, there’s no “internal ascending sequence number” here. The reason for this behavior simply is that TablePress saves the entire table, and whenever the page is loaded, it shows that table – in the same order that it is saved in while on the “Edit” screen.
    The sorting that a user performs is only done in the client, thus it does not alter/change the saved table data at all.

    TablePress does not create any tables in the mySQL database. Instead, it uses WordPress’ “Custom Post Type” API, which saves the tables as JSON encoded string in the wp_posts table, with the post_type of tablepress_table.

    Regards,
    Tobias

    JGravesNBS

    @jgravesnbs

    Thanks for the explaination

    Plugin Author TobiasBg

    @tobiasbg

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Internal Assending Sequence Number’ is closed to new replies.