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
I have a qdialog persisted in a ui file, that contains a qtitangrid widget.
the firs time I assign a sqlquerymodel to the qtitangrid widget view, it works fine.
The second time I set the sqlquerymodel to the view, the qtitangrid widget is showed without the grid.
Which is the correct workflow to reuse qtitangrid widget ?
this is the function i call twice from outside the widget to populate the model:
Hello,
I made a progress: the grid is not shown until I force a resize of the widget, just few pixel, and the grid appears. Maybe is a redraw problem.
Right now I'm working around another issue: the hidden columns that are persisted to xml, after loadLayoutFromFile method are shown instead to be hidden.
corrado wrote: Hello,
I made a progress: the grid is not shown until I force a resize of the widget, just few pixel, and the grid appears. Maybe is a redraw problem.
bye
This is a bug in the QtitanDataGrid. It has already been fixed and will be available in the update to be released this week. I apologize for the inconvenience.
corrado wrote: Right now I'm working around another issue: the hidden columns that are persisted to xml, after loadLayoutFromFile method are shown instead to be hidden.
Do you confirm this issue?
Thanks for the info. I am investigating this problem and if it confirmed it will be fixed so as this week.
Other way, you can not try to recreate the SQL model in the second stage but get it from the reference to tableView, which received in the first stage.
Like this:
bigz wrote: This is a bug in the QtitanDataGrid. It has already been fixed and will be available in the update to be released this week. I apologize for the inconvenience.
Is there a workaround to solve this issue temporary?
This week I must release the software and I'm looking for a workaround.
Another info: when the grid is displayed "hided", if you click over it an acces violation is thrown.
Last edit: 13 years 10 months ago by corrado valeri.
For the present i can recommend to try just the way which i described above.
Please provide more information or sample code how to get AV on hidden grid.