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 #3546599
Cell content prefix
Closed

Comments

  • thomas started the conversation

    Hi,


    Is there a way to batch edit cell column prefixs?  I have 47 columns, and they all need to have $.  It will be very time consuming to always manually edit each column prefix.


    I can't find documentation that explains a work around.


    Thanks.

  •  2,576
    Aleksandar replied

    Hello Thomas.

    Thank you for reaching out to us.

    I'm sorry to disappoint you, but unfortunately, something like this is not yet possible. The fastest way would be to access the database table "wp_wpdatatables_columns" and filter this table per the table ID. Please note that "wp_" is the default database prefix, but on your end, it could be anything, so look for "your_prefix_wpdatatables_columns". 

    For example, if I'm editing the wp_wpdatatable_1:

    3457620634.png

    Scroll to the right, and you'll see this column:

    9856636317.png

    That's the prefix so it'd be a lot faster to apply the prefix through the database than opening column settings for each column.

    You can also run this query:

    UPDATE wp_wpdatatables_columns
    SET    text_before = '$';
    

    After that, you'd only need to remove this value from the wdt_ID column as that's the ID column of manual tables, and any other columns where you don't want this prefix.

    I hope that helps.

    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