Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: the data sources to be dynamically allocation  (Read 31 times)

plehmz

  • Newbie
  • *
  • Posts: 6
    • View Profile
the data sources to be dynamically allocation
« on: June 20, 2024, 02:00:29 PM »
if datasources are dynamically created every time, this means, the app created by QT c++ user may create n tables, and export to the lime report by IDataSourceManager::addModel(const QString& name, QAbstractItemModel *model, bool owned) command. I want the data sources to be dynamically allocated. is it possible?

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 994
    • View Profile
Re: the data sources to be dynamically allocation
« Reply #1 on: June 21, 2024, 09:28:16 PM »
I don’t fully understand what you want to achieve; when you register a data source, you just indicate where to get the data from. When you call report generation, this data will be used in the form in which it is in the data source