How to move a row in a table?

  • Unknown's avatar

    I have created a table but need to rearrange the order of the rows. I have found how to insert a new row, delete an old row, and copy/paste individual fields, but that’s kind of a pain. Is there a move function for rows?

    Alternatively, I see I can copy the entire table to the clipboard. In theory I could edit the HTML text to rearrange the rows, but every time I try even simple changes to the HTML, WordPress complains and rebuild the original text. I don’t have much hope in replacing the whole table. Is that technique supposed to work?

    The blog I need help with is: (visible only to logged in users)

  • Our table block does offer basic functionality, but there is not a way to drag and rearrange columns in this case. It is possible to edit the block code directly, but it does not behave exactly the same as plain HTML (it’s something of a customized version of HTML) so it’s not something that we recommend typically. It may work, but it’s also the case that small error can cause the code to not be able to save.

    One option you can consider is to install a plugin that adds more advanced tables functionality, similar to what you would have with a spreadsheet app.

    https://wordpress.com/plugins/?s=table+maker

    Hope that helps. Please let us know if you have any more questions.

  • The topic ‘How to move a row in a table?’ is closed to new replies.