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.
Hi Bharathi,
Have you been able to resolve your issue? If you need further assistance, please let me know.
Regards,
Tsanna
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.