Ticket Q371423
Visible to All Users

ASPxGridView - How to change the customization window size

created 12 years ago (modified 12 years ago)

[DX Support team: this thread was cloned from Q470745]
I am trying to increase the width of the grid view columns customization window. I put the following in my Page_Load():

C#
grid.SettingsPopup.CustomizationWindow.Width = new Unit(grid.SettingsPopup.CustomizationWindow.Width.Value * 1.1, grid.SettingsPopup.CustomizationWindow.Width.Type);

This is not working - the width at this stage is 0px, so increasing it by 10% will not help. Moreover, now when the customization window shows up, it is empty (it is working fine when I don't have the three lines of code above in my Page_Load()).
Thanks in advance
Vadim

Answers approved by DevExpress Support

created 12 years ago (modified 12 years ago)

Vadim,
If you did not set the Width explicitly, the grid.SettingsPopup.CustomizationWindow.Width.Value will return 0. So, before getting this value, it is necessary to set it. I am afraid the ASPxGridView does not provide a convenient way to get the default client-side size on the server side.

    Comments (1)

      Thanks.

      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.