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
475
Expand collapse in wingrid
posted

Hi I am binding an iList having some child objects in the collection. i.e Manifest is parent object and manifestdata are child objects that are bind to the iList. When I databind this manifest object, I can see a + symbol to expand and collapse the child records in the band(0).

I dont want to show the + symbol in the in the grid. how this can be done.

Parents
No Data
Reply
  • 17259
    Offline posted

    If you just don't want the symbol:

    grid

     

    .DisplayLayout.Override.ExpansionIndicator = ShowExpansionIndicator.Never;

    If you don't want to see the child band at all:

    grid.DisplayLayout.ViewStyle = ViewStyle.SingleBand;

Children
No Data