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
185
Is UltraGrid expandable!
posted

HI all,

i am new in Infragistic world.

I have a few forms and I have reference on UlstraGrids and Decoratores. I have to know is UltraGrid set as expandable or not.

Any help is very welcome. Thanks in advance!

Parents
  • 185
    posted

    I'm not sure does this make sanse, but i maybe could do something like this:

    int num = 0;for(int i=0; i<ultraGrid1.DisplayLayout.Bands.Count; i++)

    {

    if(!ultraGrid1.DisplayLayout.Bands[i].Hidden)

    {

    num++;

    }

    }

     

    In this case, if i have num == 1 i don't have expandable grid, but if i have num greater than 1 then it is expandable UltraGrid.

    Does this make sense?

Reply Children
No Data