Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82115

Creating custom add/edit/remove function

$
0
0
Hey all,

So im trying to add add/edit/remove functionality to my table. but am rather confused on how to do it so far. I need to have them make a call to another method which then sends the SQL command to our MS SQL server to change the database. So far i see that using the
 "aButtons": [ "Add", "Edit", "Delete" ] 
creates the buttons, but im not clear on how to define their functions. id like them to call to one of my classes which has the SQL command in it, and pass the data in which the method then sends and processes. Is there a way to do this? or do i have to make a php file and do the individual SQL commands nested in that somehow?

Thanks!

Viewing all articles
Browse latest Browse all 82115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>