Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
155
Odd behavior when rebinding the igHierarchicalGrid
posted

I am getting an odd behaviour when rebinding the igHierarchicalGrid. After fetching new set of values from the DB and when I tried to rebind the Grid by When I tried to destroy the igHierarchicalGrid  and rebind the igHierarchicalGrid by executing the following set of statements -

function ReBind(data)

{

var obj = jQuery.parseJSON(result);                                       

                   $("#HierarchyTree").igHierarchicalGrid('destroy');

                    gridOptions.dataSource = obj;

                    $("#HierarchyTree").igHierarchicalGrid(gridOptions);

                    //$("#HierarchyTree").igHierarchicalGrid("dataSourceObject", obj);

                    //$("#HierarchyTree").igHierarchicalGrid("dataBind");

                }

The igHierarchicalGrid binds but the parent columns start pushing forward. Let me know what is the reason. Mind the columns are auto generated.

 

Devington B.

 

  • 15320
    Offline posted

    Hi Bharathi,

    Have you been able to resolve your issue? If you need further assistance, please let me know.

    Regards,

    Tsanna

  • 15320
    Offline posted

    Hello Bharathi,

    Regarding your issues explained in case with number: CAS-151946-C6S5J0, I've used your code to create a sample and test your scenario, however I couldn't reproduce the described behaviors. What's more I'm not sure that I could understand them at all. Therefore I would ask you to send me a screenshot of the issues on your side in order to see to what actually you're facing.

    At the meantime I'm sending you my sample for your reference.

    Waiting for your reply.

    Regards,

    Tsanna

    rebindingIssue.zip