Forum
Sign Up
× DataGrid for Qt.C++

hide the row headers

12 years 7 months ago #1 by
hide the row headers was created by
It is possible to hide the row headers and how can i do this?

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

  • 's Avatar Topic Author
12 years 7 months ago #2 by Developer Machines
Perhaps I do not understand correctly what is meant. Can you attach a screenshot of the item you are trying to hide?

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

More
12 years 7 months ago #3 by
Replied by on topic hide the row headers
I want to hide the area at the left side (row header an top left corner) for grids, with have only one row.
Attachments:

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

  • 's Avatar Topic Author
12 years 7 months ago #4 by Developer Machines
I've already answered this question in a previuos thread of discussion.

For table view please use:
view->options().setColumnsQuickCustomization(false);

For banded view use:
view->options().setColumnsQuickCustomization(false);
view->options().setBandsQuickCustomization(false);

(Note: for banded view you need to add two lines. If one of them is visible then the row header is not hidden!)

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

More
12 years 7 months ago #5 by
Replied by on topic hide the row headers
Ok, for one row the result is now how it should look like. If there are more than one row i want to see the row headers, but than i see the icons for the quick customization and when i click the menu is open. I want to have row headers without these icons and menu. There is no need to customize the columns. I hope my question now is clear.

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

  • 's Avatar Topic Author
12 years 3 months ago #6 by
Replied by on topic hide the row headers
Do you have a solution ?

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

  • 's Avatar Topic Author
  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Moderators: Developer Machines
Time to create page: 0.154 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 )