On Sun, 27 Apr 2025 13:53:47 -0500 Igor Korot wrote:
IK> Hi, ALL,
IK> By default wxGrid behaves as spreadsheet, meaning that if I have a
IK> cell/row/column with non default editor/renderer it is not displayed after
IK> creation.
IK>
IK> In order to display it one has to click the appropriate cell twice.
IK>
IK> Is there an easy way to display such editor/enderer after creation without
IK> user interference?
You use "editor/renderer" as if they were interchangeable, but they are
completely different. Notably, renderers are always used, so your question
doesn't make sense for them. Editors are indeed shown on double click by
default, but wxGrid supports "activatable editors", which are the ones
deriving from wxGridCellActivatableEditor, such as MyGridStarEditor in the
grid sample, and which don't need to be shown before being used. I guess
this is what you need.
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
https://www.tt-solutions.com/