Hi - I'm attemting to implement cell buttons in the way that the CellButtons sample does, with the exception that my derived cell renderer inherits from GridStaticCellRenderer, not GridTextBoxCellRenderer (I made this choice because I only want a button in the cell, no text, but I'm open to suggestions).
It works for the most part, except that I want the area inside the cell but outside the bounds of the button (i.e. the area in your example where the words "Browse me" appear) to be inert - i.e. not give the cell focus when clicked.
Currently when I click in this area, the cell becomes current, with the single pixel black focus rectangle.
e.Style.ReadOnly = True
to the code for
Public Overrides Sub OnPrepareViewStyleInfo
of my derived GridTextBoxCellRenderer, but to no avail, and I didn't want to set ShowCurrentCellBorderBehavior for the whole grid, just this column of buttons. Any ideas?