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)
GridViewBase::focusColumnChanged(int oldColumnIndex, int columnIndex) to control the focus.
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: