Description:
I am trying to provide my end-users with the ability to change a specific row's height via the mouse. Is there a way to implement this feature?
Answer:
The XtraGrid doesn’t provide such a feature automatically due to the fact that it doesn't cache any data internally. Thus it can’t store different row sizes. However, you can implement this task yourself. To do this you should handle the GridView's MouseDown, MouseUp and CalcRowHeight events. Within the MouseDown and the MouseUp events you should handle row size changing. Within the CalcRowHeight event handler you should pass the valid row height for a specific row. In the attached project you will find a sample project which demonstrates this task
Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Hi!
what is it like for MVC and change row heights by user in a gridView?
thx a lot!
Hello,
To process your inquiry in the most efficient manner, I've created a separate ticket on your behalf:
What is it like for MVC and change row heights by user in a gridViewPlease refer to it for further correspondence.
Good afternoon:
I translated the code of the project to VB.Net but it does not work as cSharp (c# works perfectly).
Problem is it resizes all rows in the GridView when language is VB Net.
Any Idea what I can do?
Best,
JOSE LUIS
Hi Jose,
As I see, you created a separate ticket (How to resize one row in Gridview) regarding this issue. Therefore, let's continue our discussion there.