Support » Plugin: Advanced Custom Fields: Table Field » Top row missing columns in admin after using update_field to add new columns

  • Im building an importer that uses update_field and I ran into a problem when the data has additional columns. The data is being displayed correctly in the admin except the “top row” UI in the WP admin does not include the additional columns.

    See screenshot in link:

    https://imgur.com/a/ssXPk7U

    Its not a show-stopper for me but its means that users can’t use the UI to add columns since the new ones will be added to the middle of the table instead of at the end.

    The page I need help with: [log in to see the link]

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

    (@jonua)

    Hi andrisig,

    thanks, yes, this is an issue I have to resolve.

    This is because an extra data array for the “top” columns exists that has to be updated as well if the amount of columns changes by update_field();

    Because that array for the “top” columns was implemented for future functionalities and has no functionality for now, I musst implement an auto synchronisation of the “top” columns amount with the “body” columns amount in update_field().

    Please give me some days, to do that. I am very busy right now.

    Cheers,
    Johann

    • This reply was modified 1 year, 7 months ago by Johann Heyne.
    Thread Starter andrisig

    (@andrisig)

    @jonua very cool, thanks for a quick reply. Great plugin btw!

    Plugin Author Johann Heyne

    (@jonua)

    Hi andrisig,

    please test the following beta version, if this fixes your issue…
    https://downloads.wordpress.org/plugin/advanced-custom-fields-table-field.1.3.9.zip

    Thanks!
    Johann

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Top row missing columns in admin after using update_field to add new columns’ is closed to new replies.