Re: Non-default wxGrid implementation
Igor Korot <[email protected]> Mon, 28 Apr 2025 16:22:50 -0500
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <CA+FnnTwFt7h0EJ2fR-J-D4EsKrEMz5ine0u1sqkzN0UqLmqMuQ@mail.gmail.com> |
Thx, Vadim, I'll look it up. On Mon, Apr 28, 2025 at 4:04 PM Vadim Zeitlin <[email protected]> wrote: > > 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/ -- Please read https://www.wxwidgets.org/support/mlhowto.htm before posting. --- You received this message because you are subscribed to the Google Groups "wx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/wx-users/CA%2BFnnTwFt7h0EJ2fR-J-D4EsKrEMz5ine0u1sqkzN0UqLmqMuQ%40mail.gmail.com.