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
we are using 5.13.0 version of QtitanDataGrid.
We are using single data model for 2 views.
I want to reflect/apply any viewer operation (like sorting, grouping, filtering,... etc.) of view to another view.
We investigated and found APIs to give the information about filters, sorting applied or not on view, But there is no any delegate which raises the signal whether viewer operations (like sorting, filtering, grouping,... etc.) applied.So, we can perform the same operation on another viewer.
Could you please let us know is there any way to reflect/apply any viewer operation (like sorting, grouping, filtering,... etc.) of view to another view.
Grid has signals that are rised on operations you are looking for:
GridViewBase::startGrouping(ColumnGroupArgs* args) - grouping about to be changed.
GridViewBase::groupingChanged() - grouping changed.
GridViewBase::selectionChanged(GridSelection* selection, GridSelection* oldSelection) - view selection changed.
GridViewBase::focusRowChanged(int oldRowIndex, int rowIndex)
and
GridViewBase::focusColumnChanged(int oldColumnIndex, int columnIndex) to control the focus.
GridViewBase::filterActivated()
GridViewBase::filterDeactivated() for the filter status changed.
GridViewBase::zoomFactorChanged(double factor) - to set the same zoom factor for both views.
GridViewBase::columnsUpdated() - columns order or visibility changed.
Will be added to the next update:
GridViewBase::sortingChanged() (5.15.0)