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
135
Hierarchical Web grid
posted

Hello to all,

I have used Hierarchical Web grid in my application.

Actually i want to hide 2 columns of Child (i.e Band 1) for just first row, not for all another row.

i.e

Parent_Row1

    Child_Col11       Child_Col12          Child_Col13           Child_Col14

Parent_Row2

    Child_Col21       Child_Col22          Child_Col23           Child_Col24

Parent_Row3

    Child_Col31       Child_Col32          Child_Col33           Child_Col34

Now i want to hide  Child_Col12,Child_Col13 for just first row..

How it can be possible?

Thanks

Bijal Shah

  • 2211
    posted

    Hola -

    Just a guess but I bet you could embed an editor in the columns in question and then hide the editor in the first child row.  I have never tried this so it's just a guess.  I think this would just allow you to hide the value. The cell would still be visible.

    Good luck -

    Patrick

  • 8680
    posted

    As far as I know, columns have a .Hidden property, but cells don't.  Setting a Column.Hidden will affect all rows.  If you use TemplateColumns, you could set the .Visible property of an ASP:Label or ASP:TextBox.