Forum
Sign Up
× DataGrid for Qt.C++

[1.1] class Qtitan::GridTableView' has no member

13 years 11 months ago - 13 years 10 months ago #1 by corrado valeri
[1.1] class Qtitan::GridTableView' has no member was created by corrado valeri
Hello you all,
I upgraded my qtitangrid from 1.0 to 1.1.
Recompiling my applications, I got this error:
'class Qtitan::GridTableView' has no member named 'getColumnByIndex'

The code that hit this error is:
titan_grid->view<Qtitan::GridTableView>()->setModel(WI_RELAZIONI_TIPO_VAGONE_GRIGLIA);
    Qtitan::GridTableColumn* column = (Qtitan::GridTableColumn *)view_titan_grid->getColumnByIndex(IDXCOL_ORDINE_REGOLA);
    column->setVisible(false);

Usually a component should keep backward code compatibility.. how do I fix this error?

thank you
Last edit: 13 years 10 months ago by corrado valeri.

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

  • corrado valeri
  • corrado valeri's Avatar Topic Author
13 years 11 months ago #2 by Developer Machines
Just rename the method from getColumnByIndex(...) to getColumn(...). We took this step to make the grid API more intuitive. I am very sorry for that 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.136 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 )