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. Image for the cookie policy date

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

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.

1 Reply

AD Administrator Syncfusion Team February 4, 2005 01:02 PM UTC

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

Loader.
Live Chat Icon For mobile
Up arrow icon