Like DataTables Home Page

Like DataTables Home Page

boirodboirod Posts: 2Questions: 1Answers: 0

Hi everyone, I'm having to do a table like this home page table (there is one table that have a plus button to show salary) but i have to show a link to edit the row. Anyone can help me with this? Thanks in advance for your help... :) And sorry my poor english


  • walt888walt888 Posts: 1Questions: 0Answers: 0
    edited March 2019

    You can use columns.render to accomplish this.

    columns: [
            { data: 'id' },
            { data: 'name' },
                    data: 'id', render: function (data, type, row, meta) {
                            return '<a href="Edit/' + data + '">Edit</a>';
  • colincolin Posts: 8,604Questions: 0Answers: 1,440

    Hi @boirod ,

    The home page table is using the Responsive extension - there's a few examples there on how to create your own.



  • boirodboirod Posts: 2Questions: 1Answers: 0

    Thank you guys, i will see this now.

This discussion has been closed.