javascript - Jquery Jtable listAction not working -


i have jtable this:

$("#encuestastablacontenidos").jtable({                 title: "tabla de encuestas",                 paging: true,                 pagesize: 10,                 actions: {                     listaction: '../../srvencuestas?paraction=listarencuestas',                     updateaction: '../../srvencuestas?paraccion=editarencuestas'                 },                 fields: {                     numeroencuesta: {                         title: 'numero de pregunta',                         width: '5%'                     },                     preguntaencuesta: {                         title: 'pregunta',                         edit: true                     }                 }             }); 

my problem listaction not being put in servlet. tested url it's not that. think it's jtable plugin, need help. comment nice.

i can not add comment, did add load function call after jtable configuration?

$("#encuestastablacontenidos").jtable({    title: "tabla de encuestas",    paging: true,    pagesize: 10,    actions: {       listaction: '../../srvencuestas?paraction=listarencuestas',       updateaction: '../../srvencuestas?paraccion=editarencuestas'    },    fields: {       numeroencuesta: {           title: 'numero de pregunta',           width: '5%'       },       preguntaencuesta: {          title: 'pregunta',          edit: true       }    } });  $("#encuestastablacontenidos").jtable("load"); //this line load data 

Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -