We're Moving to a New Support Platform – Starting June 1st!

We’re excited to let you know that starting June 1st, we’ll be transitioning to a new support system that will be available directly on our product websites – Amelia, wpDataTables, and Report Builder. In fact, the new support platform is already live for Amelia and wpDataTables, and we encourage you to reach out to us there.

You'll always be able to reach us through a widget in the bottom right corner of each website, where you can ask questions, report issues, or simply get assistance.

While we still do not offer live support, a new advanced, AI-powered assistant, trained on our documentation, use cases, and real conversations with our team, is there to help with basic to intermediate questions in no time.

We're doing our best to make this transition smooth and hassle-free. After June 1st, this current support website will redirect you to the new "Contact Us" pages on our product sites.

Thanks for your continued support and trust – we’re excited to bring you an even better support experience!

Okay
  Public Ticket #2512109
Get record by clicking on row
Closed

Comments

  • Leo started the conversation

    Hello,

    Could someone give me some tips on how to retrieve a row by clicking on it, parsing a column value from it?
    I added a new column to one of my tables as 
    '<button type="button" onclick="trackItem()" class="track-button">+</button>' TrackItem,

    I tried adding the following function to /assets/js/wpdatatables/wpdatatables.js but I was not able to get any values.


    var clickEvent = function (e) {

    function trackItem() {
        var row = $(tableDescription.selector + ' tr.selected').get(0);
        var data = wpDataTables[tableDescription.tableId].fnGetData(row);
        data = data[0];
        console.log('inside function: addItem' + data);
    }

    ...

    Any tips?

  •  2,576
    Aleksandar replied

    Hello Leo

    Thank you for your purchase.

    I am sorry to disappoint you, but unfortunately something like this is not possible with the plugin's built-in features and it has to be done as custom work, which is not included in the provided support for the plugin, so I can't help you with that.

    If I had an example on this, I would gladly share it with you, but unfortunately I don't. You can take a look at our hooks and filters and see if there's something there that can help you out.

    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