javascript - How to change deleteAction in Jtable -
please tell me how change setting actions.deleteaction
functions deleteconfirmation
not change source ?
in advance!
$('#pages-table').jtable({ title: 'birds', paging: true, pagesize: 15, sorting: true, defaultsorting: 'name asc', selecting: true, multiselect: true, selectingcheckboxes: true, selectonrowclick: false, actions: { listaction: '/aima-admin/?plugin=pages&ajax=yes&action=jtable&jtable=list&catid=1&lang=en', deleteaction: '/aima-admin/?plugin=pages&ajax=yes&action=jtable&jtable=delete' }, deleteconfirmation: function(data) { data.deleteconfirmmessage = '<p>Удалить</p><input type="radio" value="page" name="delpage">Страницу <input type="radio" value="translate" name="delpage">Перевод'; },
get scoop function of source code found _setoption. idea should establish such option. have not figured out how use it. can experienced this?
Comments
Post a Comment