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
2710
webdatagrid height reset to empty
posted

I have a webdatagrid with no height set. I set the height on the server side based on a checkbox to allow scrolling. However how do I reset the height back to empty?

0 collapses the grid and you cannot have null or negative values.

 

Gary

Parents
No Data
Reply
  • 22852
    Offline posted

    Gary,

    If you are looking to set the height to the equivalent of what it is when it is never set, then you would need to set it to Unit.Empty in your code.

    Let me know if you have any questions.

Children
No Data