Mouhssine tahri

Mouhssine tahri

  • 1.9k
  • 201
  • 3.2k

How to refresh jsTree after update without reload page

Aug 6 2021 10:26 AM

Hello

i use MVC 5 and the jsTree3i built my treeview using the code in the attached code.rar file

I want my treeview to refresh without loading the page using javascript

i use

    $("#jstree").jstree(true).refresh(true); but treeview is not displayed
   $('#jstree').jstree(true).redraw(true); but treeview does not refresh

please could you help me thanks


 


Attachment: code.rar

Answers (2)