Forum
Sign Up

Category Header

DataGrid for Qt.C++

Topics in Category: QtitanDataGrid

emo
Stephanie's Avatar
Topic started 4 days 22 hours ago by Stephanie
I have created a vector for header data which changes dynamically. This vector vector gets updated and my column sequence gets changed which I want to be updated in my QtitanGrid but unfortunately setHeaderData is not working with this case.
Piotr's Avatar
Last Post by Piotr 4 days 6 hours ago
Hi Stephanie, Could you give an example, in order to properly understand what's going on?
emo
Views: 49
Replies: 1
Preview
Irving's Avatar
Topic started 2 months 3 weeks ago by Irving
How do I swap the two items by dragging one of them? [attachment]
Developer Machines Support's Avatar
Last Post by Developer Machines Support 1 month 3 weeks ago
Unfortunately, such feature is not supported at the moment.
emo
Views: 175
Replies: 0
Preview
GYEYOUNG TNI GYEYOUNG TNI's Avatar
Topic started 6 months 4 weeks ago by GYEYOUNG TNI GYEYOUNG TNI
Hi, In QtnGridTableViewBase.cpp/GridColumnPrimitive::paint_column_header_contents() there is Grid* grid = qobject_cast<Grid *>(option.styleObject); this code. from Qt-5.x there is "styleObject" variant In "QStyleOptionHeader" class, but Qt-4.8 there is no "styleObject". (using Visual Studio 2008 in...
emo
Views: 173
Replies: 0
Preview
Mike's Avatar
Topic started 7 months 4 weeks ago by Mike
Hello. I have a column of strings that I'm trying to apply the 'NOT EQUAL' filter to, but it always ends up applying the 'LIKE' filter. I would expect the 'NOT LIKE' filter to be applied in the 'NOT EQUAL' case. Looking at the FilterDialog code, it appears 'LIKE' is always used when the variant type...
emo
Views: 177
Replies: 1
Preview
Chaitanya's Avatar
Topic started 9 months 4 weeks ago by Chaitanya
I have a requirement to keep all cells of the grid in edit mode once user clicks on the Edit button. I am currently using the below code to set each column in my grid to edit mode. But when the user wants to edit different cells in the grid, they are forced to double click on each cell to edit it...
Developer Machines Support's Avatar
Last Post by Developer Machines Support 9 months 3 weeks ago
I'd suggest to change editor activation policy like this: column->editorRepository()->setEditorActivationPolicy(AnyEvents); See www.devmachines.com/productdocs/grid/gri...ationPolicyFlag-enum for the details.
emo
Views: 2440
Replies: 8
  • Page:
  • 1
  • 2
Preview
Stefan's Avatar
Topic started 6 years 5 months ago by Stefan
My application uses QSS for some styling. I am slowly changing all QTableViews over to QtitanDataGrids. I would like to be able to keep the styling in my app consistent by applying the same styles to all QtitanDataGrids. It seems that QTableView and QTreeView styles do not affect QtitanDataGrid, so...
Fernando Felix Gutierrez Blanco's Avatar
Last Post by Fernando Felix Gutierrez Blanco 10 months 20 hours ago
I'm interested too in changing grid style with css. Where can I find a list of classes and attributes that I'm able to change?
emo
Views: 189
Replies: 0
Preview
Padmavathi's Avatar
Topic started 11 months 3 days ago by Padmavathi
Hello, I'm currently using the banded table view in my qtitangrid. I am trying to modify the background color of the cell in a specific column based on the value in the column. I tried setDecorationColor(which is applied per column) and setCellPalette(which seems to be applicable to all cells), but...
emo
Views: 256
Replies: 3
Preview
Michael Wassong's Avatar
Topic started 1 year 4 weeks ago by Michael Wassong
I'm trying to display the footer summary using the latest version of QtitanDataGrid 5.1.1. The bottom of the cells seem to get clipped and I'm not sure why. Might have something to do with the clip rects that are created in the paint event? Help would be appreciated. Thanks.... [attachment]
Developer Machines Support's Avatar
Last Post by Developer Machines Support 1 year 3 weeks ago
Bug has been fixed. Fix will be available in the next update. Thank you for the bug-report!
emo
Views: 1088
Replies: 1
Preview
JORGE GRAMAGE BORDERA's Avatar
Topic started 1 year 4 months ago by JORGE GRAMAGE BORDERA
Hi devmachines, I've shown in the demos how can I define diferent king of editor but allways for a column. My problem it's that there are rows that in the same column neads to have diferent editors. For example I need to control the maximum and minimum of a GridNumericEditorRepository depending of...
Administrator's Avatar
Last Post by Administrator 1 year 3 months ago
Unfortunately, this feature is not supported. Please contact This email address is being protected from spambots. You need JavaScript enabled to view it. \n for more details about custom work.
emo
Views: 236
Replies: 1
Preview
JORGE GRAMAGE BORDERA's Avatar
Topic started 1 year 4 months ago by JORGE GRAMAGE BORDERA
Hi, I want to use the method addButton of the columns but there are any rows that I need to disable or better make it invisible. It's posible to do that or the buttons it's always visible in all rows? thanks
Developer Machines Support's Avatar
Last Post by Developer Machines Support 1 year 4 months ago
Unfortunately, such feature does not supported. All the buttons are visible permanently. Added it to the wish-list.
emo
Pascal's Avatar
Topic started 1 year 5 months ago by Pascal
Hi, When saving the layout of a grid with multiple sorted columns, the order in which the column where sorted is not saved. Suppose there are 3 columns: weight, time, date User now sorts grid first on date, then on time. Now restart the application and load the layout of the grid - it will be...
emo
Views: 226
Replies: 0
Preview
Pascal's Avatar
Topic started 1 year 5 months ago by Pascal
I have below code: Qtitan::GridTableView* view = ui->gridSites->view<Qtitan::GridTableView>(); GridSelection* selection = view->selection(); if (selection) { QModelIndex idIndex = m_pSiteTableModel->index(selection->row()->modelRowIndex(),SiteTableModel::id); ....... ...
emo
Views: 345
Replies: 1
Preview
Andrey Florinsky's Avatar
Topic started 1 year 11 months ago by Andrey Florinsky
What is the easiest way to get the number of selected rows in a GridBandedTableView? I am doing as shown below, but it's bad for large data: GridSelectionIterator* selection = m_view->selectionIterator(); int selectCount = 0; while (!selection->end()) { ++selectCount; const int indx...
Developer Machines Support's Avatar
Last Post by Developer Machines Support 1 year 11 months ago
selectionIterator() is deprecated in latest version of the grid. This week will be released an update. With this version it will be possible to get the selected rows count this way: Qtitan::GridTableView* view = m_grid->view<Qtitan::GridTableView>(); view->selection()->ranges()[0]... P.S....
emo
Views: 360
Replies: 3
Preview
Andrey Florinsky's Avatar
Topic started 1 year 11 months ago by Andrey Florinsky
Hi, guys! The problem with this: I get a real ModelIndex row of element: int row = m_view->focusedRow()->modelRowIndex(); Now I do sorting or filtering or grouping in view. And then I want to focus this row. How can I do this? m_view->setFocusedRowIndex(row) Is not working properly.
Developer Machines Support's Avatar
Last Post by Developer Machines Support 1 year 11 months ago
In this case you do not need to get a parent group row (you already have a reference to group row that is focused). Just use row->setExpanded(true).
emo
Views: 981
Replies: 5
Preview
corrado valeri's Avatar
Topic started 4 years 5 months ago by corrado valeri
Hello I would get the same coloring effect as setAlternatingRowColors, but for the columns. How to do this? thanks
Developer Machines Support's Avatar
Last Post by Developer Machines Support 2 years 5 days ago
Qt::FontRole is supported for string editors. Please set this option to true before start trying it: view->options().setModelDecoration(true)
emo
Views: 297
Replies: 0
Preview
Pascal's Avatar
Topic started 2 years 1 month ago by Pascal
Where can I find documentation which functions/members/properties are removed and what is the replacement ? Would be good to flag public members as deprecated before just dropping them. Eg, following code does not work anymore in 4.x:... and through searching the source code I found that it could...
emo
Views: 607
Replies: 1
Preview
Kwangho Kim's Avatar
Topic started 2 years 7 months ago by Kwangho Kim
i want to copy-paste feature with qtitandatagrid. but currently qtitandatagrid does not support this feature. so i decide to make my own code. --- i edited qtitandatagrid source code because qtitandatagrid cannot signal ctrl+c event. --- this code does not support banded table view. --- this...
Developer Machines Support's Avatar
Last Post by Developer Machines Support 2 years 7 months ago
Could you please tell me how many rows in your model?
emo
Views: 532
Replies: 1
Preview
Kwangho Kim's Avatar
Topic started 2 years 7 months ago by Kwangho Kim
how to use qtitandatagrid in qml? is it impossible?
Developer Machines Support's Avatar
Last Post by Developer Machines Support 2 years 7 months ago
QML binding is not supported. This feature in our wish-list But I can not give an exact date when this will be implemented.
emo
Views: 486
Replies: 1
Preview
Josh Quigley's Avatar
Topic started 2 years 8 months ago by Josh Quigley
When the model raises 'headerDataChanged' signal, this is ignored by the QtitanDataGrid. Inspecting the dumpObject() output (shown below) it appears the view never connects to the signal. Is there are way to trigger the view to update it's column headers? OBJECT...
Developer Machines Support's Avatar
Last Post by Developer Machines Support 2 years 7 months ago
In current implementation these signals are not handled. They will be added to the next major grid update - v 4.0.
emo
Views: 452
Replies: 1
Preview
Josh Quigley's Avatar
Topic started 2 years 8 months ago by Josh Quigley
Out-of-the box, the spin box editor (for numeric values) in the QtitanDataGrid limits values to between 0.00 and 99.99 How can we replace the validator? In particular, I'd like the user to be able to type any value, include 'nan' which is a valid value for 'double' type.
Piotr's Avatar
Last Post by Piotr 2 years 8 months ago
Hi josh, You have access to the column editor and can set the appropriate properties. For example: myColumn->setEditorType(Qtitan::NumericEditorType); Qtitan::GridNumericEditorRepository* numericEditor = (Qtitan::GridNumericEditorRepository*)myColumn->editorRepository();...
Time to create page: 0.212 seconds

Developer Newsletter

Join our Developer Machines newsletter to get informed on all the latest releases of the commercial components for Qt.C++, Delphi FireMonkey, updates and general knowledges.
captcha 

Quick Support

Should you need any additional information about our products or licensing, please contact us at the following email addresses:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

Get in Touch

If you would like to purchase our products or services, but don’t know how to do it the right way, please feel free to contact us:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.( any questions related to our products or services )
  • This email address is being protected from spambots. You need JavaScript enabled to view it.( questions related to licensing )