informing wxGrid that a specific row has updated values

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
wxotichna
Earned a small fee
Earned a small fee
Posts: 19
Joined: Fri Sep 16, 2022 8:37 am

informing wxGrid that a specific row has updated values

Post by wxotichna »

Good morning to you all

I have a wxGrid that uses a subclass of wxGridTableBase as data model

I can successfully refresh the whole gui by setting the data model again using the SetTable(modelP); method of wxGrid

It happens that I am changing a specific row content of the data model and there is the need to "signal" to wxGrid the event

Apparently wxGridTableRequest enum does NOT have an event for tableRowUpdated and I cannot believe that suche a common case has been missed

So, there must be another way to signal wxGrid that a row has changed

Any help ?

Thank you
Post Reply