Posts

Showing posts from January, 2019

Sample Code for jstree Ajax Call and Search

Image
Completed guide for setup jstree ajax ,search by ajax, Lazy Loading on jstree when heavy node on your tree. Server Side Script public   class   TreeState    {             public   bool  loaded {  set ;  get ; }         public   bool  opened {  set ;  get ; }         public   bool  selected {  set ;  get ; }         public   bool  disbled {  set ;  get ; }    } public   class   TreeNode    {         public  TreeNode()        {        }         public  TreeNode( string  text)        {             this .text = text;        }         public  TreeNode( string  text,  string  icon)        {             this .text = text;             this .icon = icon;        }         public   string  id {  set ;  get ; }         public   string  parent {  set ;  get ; }         public   bool  children {  set ;  get ; }         public   string  text {  get ;  set ; }         public   string  icon {  get ;  set ; }         public   TreeState  state {  set ;  get ; }         public