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
5549
Hide Column in Webdatatree
posted

Hi, i have a webdatatree (Vol14 V2) and want to hide some columns . i have set AutoGenerateColumns to false. i have try with hidden=true.
i have tryed code behind in the initialize row . but alays the column are visible.
after i have bound the grid with a datatable i also try with
this.WebDataGrid1.Columns[1].Hidden = true;
no success

what did i wrong ?

Parents
No Data
Reply
  • 2535
    Offline posted

    Hello,

    Thank you for using our forum!

    However I was not able to reproduce the behaviour that you're seeing on your side. I have attached the sample project I used to test this (I hide a first column in InitializeRow event and in the Page_Load I hide second column). Please test this project on your side; whether or not it works correctly may help indicate the nature of this issue.

    If this sample project is not an accurate demonstration of what you're trying to do, please feel free to modify it and send it back, or send a small sample project of your own if you have one.

    Please let me know if I can provide any further assistance.

    HideColumn.zip
Children