TableTools button to URL?
TableTools button to URL?
Stpdude
Posts: 30Questions: 0Answers: 0
Hey guys, im trying to create a button in tabletools that just points to a basic URL, i cant seem to figure out what i should do....
[code]
{
"sExtends": "href",
"sButtonText": "Create New Entry",
"sUrl":"add/cmsgroup"
}
[/code]
thinking it should be something easy like that?
[code]
{
"sExtends": "href",
"sButtonText": "Create New Entry",
"sUrl":"add/cmsgroup"
}
[/code]
thinking it should be something easy like that?
This discussion has been closed.
Replies
When I want to do something similar I do this:
[code]
{
"sExtends": "text",
"sButtonText": "Add Participant",
"fnClick": function ( nButton, oConfig, oFlash ) {
window.location = "http://www.google.co.uk"
}
}
[/code]
You could make a plug-in button which have an `sUrl` option if you wanted!
Allan