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 #1764400
Get value of a row (cells)
Closed

Comments

  • Giang Lê Hoàng started the conversation

    1. Can we put a code (Shortcode, php) on a cell and get value from another cell in the same row (text, digit…). E.g: I want to add a button which will activate a AJAX code to change another cell’s data (in same row)

    2. Is there any hook...so I can get value (cells) of row nth (row 1,2,3...)

    Many thanks!

  • [deleted] replied

    Hi Giang Lê Hoàng,
    Thank you for your inquire.

    1. Can we put a code (Shortcode, php) on a cell and get value from another cell in the same row (text, digit…). E.g: I want to add a button which will activate a AJAX code to change another cell’s data (in same row)

    We are using Datatables as one of our fronted engine and you should be able to find a way to get row and cell data for selected row with their built in methods. We do not have shortcode which will return a single cell value although you can use shortcodes in cells (by enabling them on Settings page)

    2. Is there any hook...so I can get value (cells) of row nth (row 1,2,3...)

    List of all our built in hooks could be found here - Documentation. I am not sure what are you trying to achieve but there is a filter which allows you to edit the data after they are submitted from frontend and before they are saved to the database  - wpdatatables_filter_frontend_formdata( $formData, $tableId )

     

  • Giang Lê Hoàng replied

    Okie, thank you!