Ticket Q522537
Visible to All Users

GridView - How to set fixed width for a column

created 12 years ago

Hi,
i have 2 doubts.
1.On a DevExpress grid, how can i make a fixed width of the "Edit/Delete" button column, Imagine a case where there are only 2 fields, the "Button" column will be stretched so much,How can i make this fixed width and the other field columns stretching (Now its happening for all the columns)
2.I have a vertical menu where each tab loads different grids, so while navigating from one tab to another, its taking sometime(though its a few secs).So how can i add a loading panel there.

Thanks

Answers approved by DevExpress Support

created 12 years ago (modified 12 years ago)

Hi,
To resolve the issue, set the GridView's Width and CommandColumn's Width (for instance, 100% for the GridView's Width and 10% for the CommandColumn's Width). In this case, the CommandColumn will have fixed width, whereas other columns will be stretched.
Grid Scrolling and Column Resizing Specifics
P.S. Please note that posting multiple questions within a report makes it difficult to correctly track and process such items. To process your reports more efficiently, may we ask you to open a new issue for each question, suggestion or a bug report you want to post. Thank you for your cooperation.
For now, I have created separate issue on your behalf myself:

  1. MVC Splitter - How to show loading panel on main content pane
    Comments (1)

      Thanks,it worked

      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.