You could set the action function (buttons.buttons.action) of your custom button to set the window.location.href property.
There isn't a link button type - but it sounds like a good option for a plug-in button type if you'd like to create one (and possibly share it with us :-) ).
If I only could I would do this plugin. But my knowledge level lets me stick to the available options. And these are covering nearly all topics I faced so far.
Is there a way to also know the selected rows, like for the "edit" button?
My idea is to have 2 edit pages:
- a Quick Edit to edit the most important fields of my table, therefore I am using the original Edit button and form
- a Full Edit page outside of DT, that gives me full control over the 20+ fields
I am using server side processing. Therefor I needed the selected rows ID's.
Answers
You could set the
action
function (buttons.buttons.action
) of your custom button to set thewindow.location.href
property.There isn't a
link
button type - but it sounds like a good option for a plug-in button type if you'd like to create one (and possibly share it with us :-) ).Allan
If I only could I would do this plugin. But my knowledge level lets me stick to the available options. And these are covering nearly all topics I faced so far.
Thanks for this great framework!
would this work for you ?
Thanks for the example, worked out of the box.
Is there a way to also know the selected rows, like for the "edit" button?
My idea is to have 2 edit pages:
- a Quick Edit to edit the most important fields of my table, therefore I am using the original Edit button and form
- a Full Edit page outside of DT, that gives me full control over the 20+ fields
I am using server side processing. Therefor I needed the selected rows ID's.
Yes. The documentation for that is available here.
Allan
OK, this is my final solution. Works as expected.