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
2211
How To: Hide expansion area?
posted

Hello everybody!

I am using an ultrawebgrid in Hierarchical display mode to create dynamic controls for a type of registration page.  The issue I have come across is that I don't need the expansion capability of the rows enabled because I have them auto expanded. Does any one know how to hide the expansion controls of the rows?

 TIA -

Patrick

Parents
No Data
Reply
  • 636
    posted

    Instead of playing with the styles to hide the expansion indicator my suggestion would be to cancel the events for AfterRowExpandedHandler and AfterRowCollapsedHandler.

    function AfterRowExpandedHandler (gridName, rowId)

    {return false;}

    function AfterRowCollapsedHandler(gridName,rowId)

    {return false;}

     

    let us know if this does not work for you, then we can think about hiding it.

Children