function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Arun KArun K 

problem in rerender

I am facing problem in rerendering the treepanel when I select value from selectlist.The jsonstring in the controller is right but it is not reflecting in jstree.

Below is the code. Please help on how to fix this.
<apex:page controller="customcontroller" sidebar="false" id="page">

        <apex:includeScript value="{!$Resource.jquerymin}"/>
        <apex:stylesheet value="{!URLFOR($Resource.jstree, '/jstree/dist/themes/default/style.min.css')}"/>
        <script src="{!URLFOR($Resource.jstree, '/jstree/dist/jstree.min.js')}"></script>
        <apex:stylesheet value="{!$Resource.AlignmaxCommonCSS}"/>
        $( document ).ready(function() {
            function createTree(){
                var j$=jQuery.noConflict();

                        "core" : {
                        "check_callback" : true,
                        "themes" : { "stripes" : true },        
                        'data' : {!jsonString}


                alert('inside tree Json String'+JSON.stringify({!jsonString}));
        <apex:form id="form">
          <div class="box-main">

            <div class="box-content">
                <apex:actionStatus startText=" (Shant Baitho...!!!)" stopText="" id="processingStatus" />
                <apex:actionFunction name="TreeRefresh"   status="processingStatus" action="{!processTeam}"  />
                <apex:selectList value="{!selectedTeam}" size="1" style="width:20%;" onchange="TreeRefresh();" >
                    <apex:selectOptions value="{!TeamList}"></apex:selectOptions>
                <div class="tree">
                    Tree Structure 
                    <apex:outputPanel id="treePanel">
                        <div id="jstree"> </div>