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 05:59 PM UTC

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 07:00 PM UTC

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

Live Chat Icon For mobile
Up arrow icon