How do i obtain the actual width of a column when the OptionsView.ColumnAutoWidth = true and the grid is resized?
Best regards,
Terje
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.
Hello Terje.
Thank you for your message.
To obtain column width, use the <aView>.ViewInfo.HeaderViewInfo.Items[AIndex].Width property, which returns the actual width of a cell.
Attached is an example that shows how to perform this task.
Hope, it will help you achieve the required functionality.
Best regards,
Ingvar.
P.S. By the way, it seems you're using an older build of our components (according to the report's Version field). Please visit our version info page, to learn about the most recent versions of our products, and obtain instructions on how to update them.