jquery - Dynatree - How To Transform The json Coming From Server? -
jquery - Dynatree - How To Transform The json Coming From Server? -
i'm looking help dynatree plugin.
i need transform json coming server create dynatree compatible (i'm not allowed on server side),
this below apparently doesn't work:
initajax: { url: '/admin/tenant/jsontree', data: { tenantid: 1 }, success: function(data) { // modifications info returned server // , homecoming formatted info } }
and couldn't find callback in documentation. question is: possible initial transformation callbacks or should looking other plugins?
thank in advance
have @ 'loading custom formats' in docs:
http://wwwendt.de/tech/dynatree/doc/dynatree-doc.html
basically can pass standard $.ajax() options initajax(), such datafilter
. (there - yet undocumented - postprocess
callback option.)
jquery dynatree
Comments
Post a Comment