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

Not showing current cell border in Grid with ListBoxSelection = one

Hi! I''m using the Grid control with ListBoxSelectionMode = SelectionMode.One I noticed that the current cell border is shown, and the current cell background is white. Is there a way to override this? I would like the grid to just highlight the row and not show the current cell border. Thanks. Raymond.

2 Replies

AD Administrator Syncfusion Team August 4, 2005 12:59 PM

If you do not want to edit any cell, then the simplest way to do this is to handle the grid.CurrentCellActivating event. In your handler, set e.ColIndex = 0.


RG Raymond Gunawan August 4, 2005 02:00 PM

That''s a good idea! I think it works in my situation Thanks a lot! Raymond.

Loader.
Live Chat Icon For mobile
Up arrow icon