When all data of parent table and child table gets loaded I want to hide + of each parent row in ighierarchicalgrid.
I want to toggle it on the resizing event of screen. i.e. it would be hide and show depending upon the condition.
How should i achieve?
Hello Jeetendra,
Thank you for posting in our communit
Hiding the expansion indicator column can be achieved by finding the element that renders the indicator and set its width css property to "0px" at the corresponding event handler. For example:
//in the event handler if(your contition here) { $("#hierarchicalGrid colgroup col").eq(0).css("width", "0px" ) }
//in the event handler
if(your contition here) { $("#hierarchicalGrid colgroup col").eq(0).css("width", "0px" ) }
Respectively if you would like to make this column visible this property could be set to any desired width.
Please let me know if you need any further assistance with this matter.