Forum
Sign Up

Category Header

DataGrid for Qt.C++

Topics in Category: QtitanDataGrid

emo
Views: 64
Replies: 4
Preview
Kwangho Kim's Avatar
Topic started 3 weeks 2 days ago by Kwangho Kim
i use qtitandatagrid 3.5 , but still i cant satisfying this component's click event process. though i click my list's item but i cant select row. and qtitandatagrid demo project cause same situation. i only select row via click when very slowly click row!! i attached my record file.( i want to...
Kwangho Kim's Avatar
Last Post by Kwangho Kim 3 weeks 20 hours ago
Thanks for fixing codes.
emo
Views: 47
Replies: 0
Preview
ASxa86's Avatar
Topic started 4 months 2 weeks ago by ASxa86
How do I register a double click signal for GridTableView columns? In Qt, I could simply connect to QHeaderView::sectionDoubleClicked. What can I do with QTitanDataGrid to achieve the same behavior?
emo
Views: 678
Replies: 6
  • Page:
  • 1
  • 2
Preview
yanivhakak's Avatar
Topic started 2 years 4 months ago by yanivhakak
Is there such a thing? please Can place an example?
ASxa86's Avatar
Last Post by ASxa86 4 months 2 weeks ago
For future reference. bool isChecked = model->data(item->index()).toBool();
emo
Views: 39
Replies: 0
Preview
ASxa86's Avatar
Topic started 4 months 2 weeks ago by ASxa86
The icons for my grid will not render. For example, I enabled RowFrozenButton for my grid . The button is available to click but no pin icon appears. When I drag a column to the group box header, no exit icon appears for that column. Am I missing something from the demos? These icons DO render...
emo
Views: 49
Replies: 2
Preview
ASxa86's Avatar
Topic started 4 months 2 weeks ago by ASxa86
// "this" is a QWidget auto layout = new QHBoxLayout(this); auto grid = new Qtitan::Grid(this); grid->setViewType(Qtitan::Grid::TableView); auto view = grid->view<Qtitan::GridTableView>(); view->options().setColumnAutoWidth(true); view->options().setRowAutoHeight(true);... ...
ASxa86's Avatar
Last Post by ASxa86 4 months 2 weeks ago
Thank you for the help so far. That indeed works and generates a 4x4 table. My next problem is the follow: auto grid = new Grid(); grid->setViewType(Grid::TableView); auto view = grid->view<GridTableView>(); auto model = new QStandardItemModel(); view->setModel(model); QStringList... The...
emo
Views: 51
Replies: 0
Preview
ceniza's Avatar
Topic started 4 months 2 weeks ago by ceniza
I have been considering the possibilities to target our software for OS X. We depend greatly on two components which you already provide: datagrid and charts. The problem is that the evaluation version that you provide cannot be installed in OS X Mavericks due to an issue in Qt (such issue was fixed...
emo
Kwangho Kim's Avatar
Topic started 6 months 3 weeks ago by Kwangho Kim
In previous articles, i set first column checkboxeditor type. but, my model's setData is incorrectly called by QtitanDatagrid. i.e, 1. select first column, ( set focus first column ) 2. check box click, ( checkbox = true ) between 2 and 3, qtitandatagrid not call setData for checkbox 3....
Kwangho Kim's Avatar
Last Post by Kwangho Kim 6 months 3 weeks ago
Thanks for your reply. B)
emo
Views: 105
Replies: 4
Preview
Kwangho Kim's Avatar
Topic started 6 months 4 weeks ago by Kwangho Kim
[attachment] I want to above column settings, but below screenshot was my result. ;-( [attachment] ps. qtitandatagrid documentation is hell! ----- void CManageUnapproveSWModel::createColumns() { if( m_view == NULLPTR ) return; Qtitan::GridBandedTableView* spView =...
Kwangho Kim's Avatar
Last Post by Kwangho Kim 6 months 3 weeks ago
Oh, Thanks for your reply.
emo
Views: 98
Replies: 1
Preview
Kwangho Kim's Avatar
Topic started 6 months 4 weeks ago by Kwangho Kim
i use QtitanDataGrid 3.3.2 and i'm very disappoint qtitandatagrid's bugs. In all examples, Qtitandatagrid was setModel with autocreatecolumn = true. Then, no problem. but, when setModel with autocreatecolumn = false, addcolumn assert. ( In GridBandedTableView, not GridTableView ) ----- ...
bigz's Avatar
Last Post by bigz 6 months 4 weeks ago
Thanks for this bug report. To fix this issue with banded view please do the following: spView ->beginUpdate(); colBase = spView->addColumn(0); colBase->setBandIndex(0); ............... ............... view->endUpdate();
emo
Views: 216
Replies: 2
Preview
piotr@vs's Avatar
Topic started 7 months 1 week ago by piotr@vs
What is the plan for the development of the Qtitan DataGrid?
Kwangho Kim's Avatar
Last Post by Kwangho Kim 6 months 4 weeks ago
is there release date plan?
emo
Views: 238
Replies: 1
Preview
pgeenens's Avatar
Topic started 9 months 1 week ago by pgeenens
Hi, Is there an easy way to save and load the filter settings of the grid ? Pretty much like saving and loading the layout is possible. I need to be able to create customized views and allow these views to be saved and retrieved. This way, users can customize and set up filter expressions, sort,...
bigz's Avatar
Last Post by bigz 9 months 1 week ago
At the moment this feature is not supported. We will think how to add this feature to the next update.
emo
Kwangho Kim's Avatar
Topic started 10 months 4 days ago by Kwangho Kim
I set qtitandatagrid's options like below codes: auto& viewOptions = qobject_cast< T* >(view)->options(); viewOptions.setColumnAutoWidth( true ); viewOptions.setFilterAutoHide( true ); viewOptions.setColumnHorSizingEnabled( true ); viewOptions.setSelectionPolicy(...
Kwangho Kim's Avatar
Last Post by Kwangho Kim 9 months 4 weeks ago
Ok Thanks. Then, when this bug will be fixed date?
emo
Views: 151
Replies: 3
Preview
pgeenens's Avatar
Topic started 10 months 3 days ago by pgeenens
Hi, Updated to the latest 3.3 and within the first minute of testing got application crashing. It consistently crashes whenever a valid model has no rows (rowcount is 0). Below is the exception: eax=0012306c ebx=00000000 ecx=04649e50 edx=04649e50 esi=00000005 edi=0021ce38 eip=57c60156... Exception...
bigz's Avatar
Last Post by bigz 10 months 9 hours ago
Please download latest version QtitanDataGrid 3.3.1 via your web-site account. Latest build fixes bug with crashing.
emo
Views: 236
Replies: 3
Preview
pgeenens's Avatar
Topic started 11 months 1 day ago by pgeenens
After updating to 3.2 below code consistently returns the previously selected row and not the currently selected. Reverted back to 3.1 and issue was not present. Something wrong with my code ? Behaviour changed in 3.2 ? int modelRowIndex = -1; Qtitan::GridTableView *view =...
bigz's Avatar
Last Post by bigz 11 months 16 hours ago
>>Can you confirm this is the best way to get access to the index within the model when inside the focusRowChanged event handler ? Absolutely. Your code is valid. In the focusRowChanged handler all indexes that were selected should be in the actual state. It is an issue in datagrid. We will check...
emo
Views: 214
Replies: 1
Preview
pgeenens's Avatar
Topic started 11 months 1 day ago by pgeenens
When clicking the filter icon in the header first time, I get a flash of a window who disappears. Clicking a second time on the same column filter icon, the filter window is displayed and filtering works as expected. The same behaviour for each column you did not clicked before. This behaviour is...
bigz's Avatar
Last Post by bigz 11 months 1 day ago
Bug has been reproduced and registered. It will be fixed next week in 3.3. Thanks for the info.
emo
Views: 217
Replies: 3
Preview
gek's Avatar
Topic started 11 months 4 days ago by gek
I need to be able to copy-past to and from Excel is there any way i can achieve this without writing my own code ? gerry
bigz's Avatar
Last Post by bigz 11 months 4 days ago
This feature in our wish list like others (export to Excel, export to HTML, export to Text). But i can not give accurate predictions about them (especially with Excel). The import functions have not been analyzed at all. P.S. QtitanDataGrid is a cross-platform project - so we need solution for...
emo
Views: 308
Replies: 2
Preview
corrado's Avatar
Topic started 1 year 1 month ago by corrado
I'm using the grid with a database table model. That table has only one column, varchar(6). Although, while in editing mode, the cell allow more than six chars. I need to limit the input size to 6 chars. [attachment]
corrado's Avatar
Last Post by corrado 1 year 1 month ago
It works like a charm :woohoo: thanks:)
emo
Views: 310
Replies: 3
Preview
pgeenens's Avatar
Topic started 1 year 3 months ago by pgeenens
Hi, What is the fastest and/or easiest way to color background of rows based on a value in the model ; eg USERROLE2 ? I checked the examples, but besides alternating colors could not find anything. thx Pascal.
bigz's Avatar
Last Post by bigz 1 year 2 months ago
I have answered on this topic in thread that you suggest.
emo
Views: 383
Replies: 3
Preview
corrado's Avatar
Topic started 1 year 6 months ago by corrado
Hello I would get the same coloring effect as setAlternatingRowColors, but for the columns. How to do this? thanks
bigz's Avatar
Last Post by bigz 1 year 2 months ago
Grid has a feature to highlight a cells based on standard Qt roles - Qt::DecorationRole, Qt::ForegroundRole, Qt::BackgroundRole. Maybe it will be useful for you. To do that you need set: Qtitan::GridBandedTableView* view = m_grid->view<Qtitan::GridBandedTableView...
emo
pgeenens's Avatar
Topic started 1 year 3 months ago by pgeenens
Hi, When I set ItemFlags to 'Qt::ItemIsSelectable | Qt::ItemIsEnabled' in my model, alle fields are read only except for the checkboxes. A user can still check and uncheck the checkboxes even though Qt::ItemIsUserCheckable has not been set. The only way to work around this is to disable the column...
Moderators: richmendoza
Time to create page: 0.213 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.

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 )