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
115
Active scrolling in a disabled Wingrid
posted

I am using the wingrid ver 2006/vol 3./clr 2 in a proj which needs to make the grid enabled/disabled based on user rights (view only) and other various requirements. Currently, the grid lives in a winform container with many other controls & enabling/diabling them all is quite simple by enabling/disabling the container.

Unfortunately, i can not get the grid to scroll when it is disabled. Is there a way to make the grid scroll so the users can view ALL the data when the grid is disabled??

NOTE: I realize that i can set the grid/cell background color, grid/cell activation, etc to make the grid appear disabled when it's actually not. But I suspect that you folks at Infragistics already have a solution/work-around to allow us to override the 'disabled scrollbars' when we disable the grid so that the users can view ALL the data & us programmers don't have to go to too much trouble.

 Thanks!
//bitFlinger

Parents
  • 37774
    posted

    I'm not actually sure if this is possible, since what you are referring to is basically a ReadOnly grid while when a control is disabled it is not supposed to respond to any sort of user interaction.  Is there any sort of way that you can put the non-grid controls into a different container (even a panel whose z-order is behind the grid) so that you can disable all of those controls, but then just change the appropriate Allow* properties on the grid?

    -Matt 

Reply Children