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.

 

Parents
No Data
Reply
  • 15320
    Offline posted

    Hi Bharathi,

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

    Regards,

    Tsanna

Children
No Data