I have a grid that is disabled. The users would like a way to see all the data. Instead of enabling the grid and trying to turn off all the cells, I would like to give the users a way to trigger the grid to temporarily expand to fit. My current plan is to handle mouse move on the grid's parent control, and when the mouse moves over the grid trigger the expand and shrink again when they move off.
In order to do that, I need to know if all the columns are currently being displayed. Is there an easy way to determine if that is true?
I suppose one way of doing that would be to detect if the grid is showing a horizontal scroll bar...is that easy to determine?
Thanks
Follow up question: Is there a way to determine how many pixels would be required to display all the non-hidden columns? That would greatly assist in determining how large my expanded view needs to be.
Hi mathdx,
Thank you for contacting Infragistics.
Could you let me know which version of NetAdvantage you're using? Also, it would be helpful to know which version of Visual Studio you're using and which language you're programming in.
Grid version is 11.1.20111.1003.
Visual Studio 2010
VB