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
Ok, the icon of the band row is now disable, but i want also disable the menu and do the same for the column header line. Also i will hide the line with the text 'Drag a column header here ...'.
To hide group header please use:
view->options().setGroupsHeader(false)
To customize grid menu please attach to the signal void contextMenu(QObject* sender, ContextMenuEventArgs* args); of the view. The parameter args holds the reference to the QMenu contextMenu(). You can customize it for your needs (add action, remove action and etc.).
To get the type of the element on which menu has been invoked please use GridHitInfo* ContextMenuEventArgs::hitInfo() function.
To just hide the menu set to false the setHandled(false) property for the ContextMenuEventArgs object.
1. I set view->options().setFilterEnabled(false); , but when i click at the top left corner of the ban or the column header the filter menu will be open.
2. Could you make me an exmaple for customize teh context menu?
3. I want to set teh alignment for the ban and the column header to center. How can i do this?