We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to add custom column like edit, delete while binding jquery-datatables tag datatable?
The text was updated successfully, but these errors were encountered:
Hi, I'll check it out and in the next days I'll push a new version with this new feature.
Stay tuned.
Sorry, something went wrong.
You can do something like this:
// Column Definitions columnDefs: [ { targets: "no-sort", orderable: false }, { targets: "no-search", searchable: false }, { targets: "trim", render: function (data, type, full, meta) { if (type === "display") { data = strtrunc(data, 10); } return data; } }, { targets: "date-type", type: "date-eu" }, { "targets": 6, "data": null, "defaultContent": "<a class='btn btn-link btn-link-MY' role='button' href='#' onclick='edit(this)'><i class='fa fa-pencil'></i></a>", "orderable": false }, ] function edit(elem) { var data = table.row($(elem).parents('tr')).data(); window.location = '../../../../Customers/Edit/' + data['customerID']; }
Added custom column tag binding (#3)
1341961
Hi @abhishekbhalani and @stzoran1, I've just pushed a new release with custom column tag binding support.
You can download the latest release here
DavidSuescunPelegay
No branches or pull requests
How to add custom column like edit, delete while binding jquery-datatables tag datatable?
The text was updated successfully, but these errors were encountered: