We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How can I force the grid remove the space before and after the text in Combo box cell?

Thread ID:

Created:

Updated:

Platform:

Replies:

24448 Feb 3,2005 08:40 PM Feb 4,2005 08:02 AM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On February 3, 2005 08:40 PM

I use a GDBG. The combo box cell in GDBG always trim the text when I load it. How can I force the grid remove the space before and after the text in Combo box cell? Thanks.

Administrator [Syncfusion]
Replied On February 4, 2005 08:02 AM

Hi David, try handling the grid.Model.QueryCellFormattedText event and use this code in your handler. e.Text = e.Style.Text.Trim(); e.Handled = true; Stefan

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;