Forum
Sign Up
× DataGrid for Qt.C++

How to get column drag drop event.

6 years 1 month ago #1 by Jennifer
When user changed column position (visibility index) is there any specific signal gets emitted.
Eg:- When we change the ID column position present in relation model sample is there any specific event gets called.
Before drag-drop operation ID position


After drag-drop operation ID position



GridView::columnsUpdated() signal gets emitted only when we change the visibility of column.
We are looking for some signal which gets emitted when we change the visibility index by performing column drag-drop operation.
Attachments:

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

More
5 years 11 months ago #2 by Developer Machines
In the next update will be added columnMoved(GridColumnBase* column, int fromVisualIndex) signal to get such notification.

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.123 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 )