QtitanDataGridModel-view DataGrid component with rich functionality for Qt.C++ and PySideQtitanRibbonReplicates Microsoft RibbonUI interface for Qt.C++ and PySideQtitanNavigationDesignUIReplicates Microsoft Navigation Design interface for Qt.C++ and PySideQtitanChartCharts and Diagrams component for Qt.C++ and PySideQtitanDockingDockable Panels and Tool Bars for Qt.C++ and PySideQtitanFastInfosetXML Compressed format FastInfoset implementation for Qt.C++ and PySideRoadmap Development 2023
FireDataGridPowerful, modern, fast, DB-Aware Grid for Delphi-FiremonkeyFireDockingDelphi IDE/Visual Studio implementation of dock panels for Delphi-Firemonkey
As one of the differences between QTitanDataGrid 8.0 Public Beta and Release versions, the clearPersistRows function is called inside void GridModelController::modelReset(). However, this results in updating the model contents and calling
We cannot comment on the internals of the source code here. To solve the problem, would it be better to add a description of the bug and how it can be reproduced?
calls, and after that, some features don't work.
In general, calling modelReset completely resets the persistence rows configuration, that is, information about selection and the focus row is lost. In fact, we are talking about installing a new model into the grid.
To reiterate,
I call modelReset when I want to refresh the data inside the model. For example, I have a class that inherits from QAbstractItemModel. This class contains the contents of some directory. To refresh the contents of this directory, the data inside , is changed by calling the following code.
beginResetModel();
qSwap( VecFilesEx, vecFiles_ ); c.
endResetModel();
// vecFiles_ is a vector inside the model.
// VecFilesEx is the newly acquired information.
From now on, you won't be able to move items with the keyboard, and you won't be able to select items with a mouse click. However, it is possible to select rows by dragging (when it is a MultiRowSelection).
However, clickEvent, dobuleClick events, etc. will still come in and work as normal.