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
600
Hide + of each parent row in ighierarchicalgrid.
posted

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? 

  • 17590
    Offline posted

    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" )
        }

    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.