Setting a column Width to 0 does not hide it

2 posts, 0 answers
  1. Manuel
    Manuel avatar
    1 posts
    Member since:
    Jul 2010

    Posted 16 Aug 2012 Link to this post

    Hi.

    I'm Jorge Muria from Video Stream Networks. I've just updated a Silverlight application from v. 2010_3_1110_DEV version to Q2 2012 SP1 and somethink broke. We set the column Width to 0 in order to store hidden data within the row. Now if I set it to 0, there is a minimum size displayed (around  20 pixels) and I cannot do it smaller.. 

    I know I can use IsVisible property but I'll have to change the application behaviour because the hidden columns are not directly accesible and I'll have to access the DataContext. I prefer to void to make that kind of changes now. 

    Is there anything that I can do to set the width to 0 or hide the column while accessing it like with the other columns?

    Thanks in advance. 
    Jorge Muria. 
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 16 Aug 2012 Link to this post

    Hello Jorge,

    As you have upgraded from quite an old version, I would like to ask you to share more details on what your exact scenario is. That way I could suggest you a solution that benefits from the latest improvements we have introduced.

    Why do you need to access the DataContext for the hidden column? What is your final goal?

    All the best,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top