No editable ComboBox
(1 viewing) (1) Guest
DataGrid for Qt.C++
  • Page:
  • 1
  • 2

TOPIC: No editable ComboBox

  • bigz
  • OFFLINE
  • Developer
  • Karma: 10

Re: No editable ComboBox

#447 2 years ago
I have looked our correspondence about your problem and it seems that there is no problems with the grid. There is a problem with your model. It returns the wrong type in EditRole. I will building your example again tomorrow and will let you know the results by email.

P.S. Regarding your request of the new features - disabling button in the cell.
This feature has been implemented and will be available in the release of the grid which is planned this week or early next.
  • bigz
  • OFFLINE
  • Developer
  • Karma: 10

Re: No editable ComboBox

#450 2 years ago
Have sent reply by email.

Re: No editable ComboBox

#451 2 years ago
Here is a better description of the problem:

In your example 'relationmode' there are two columns with comboboxes on
the page Relation Mode. When you double-click f. e. on the city 'Oslo'
then there is a cursor after the 'o' and you can edit 'Oslo'. When i
insert instead 'Oslo' the text 'Berlin' than 'Berlin' is add in the other
dropdownlist for that column. What i want is only the possibility to
select a city from the dropdownlist. I don't want to see a cursor after
the last character and don't want to edit the text.

I hope now it is clear what i want.
The following user(s) said Thank You: bigz
  • bigz
  • OFFLINE
  • Developer
  • Karma: 10

Re: No editable ComboBox

#452 2 years ago
Ok, for now everything is clear. It is a bug in QtitanDataGrid. I sent you a quick patch by email. In the release version, we will fix it more accurately.

I am very sorry for the inconvenience!
  • Page:
  • 1
  • 2
Time to create page: 0.11 seconds

Developer's Newsletter


Register to our Developer Machines newsletter to get informed on all the latest releases of the commercial components for Qt, 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:

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:

support@devmachines.com ( any questions related to our products or services )
license@devmachines.com ( questions related to licensing )

Copyright © 2009-2014 Developer Machines. All Rights Reserved.

Login to Developer Machines

Welcome to Developer Machines CMS



Developer Machines Registration



*
*
*
*
*

Fields marked with an asterisk (*) are required.