Forum
Sign Up
× DataGrid for Qt.C++

No editable ComboBox

11 years 8 months ago #7 by Developer Machines
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.

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #8 by Developer Machines
Have sent reply by email.

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #9 by
Replied by on topic No editable ComboBox
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.

Please Log in or Create an account to join the conversation.

  • 's Avatar Topic Author
11 years 8 months ago #10 by Developer Machines
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!

Please Log in or Create an account to join the conversation.

More
  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Moderators: Developer Machines
Time to create page: 0.140 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 )