How to remove unnecessary Type of Connection?

Stimulsoft Reports.JS discussion
Post Reply
alireza_s_84
Posts: 18
Joined: Fri Jan 27, 2017 4:43 am

How to remove unnecessary Type of Connection?

Post by alireza_s_84 »

Hi,
How i can remove unnecessary Type of Connections in "Select Type of Connection"?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: How to remove unnecessary Type of Connection?

Post by Alex K. »

Hello,

You can use the following code

Code: Select all

// Override the list of supported databases
StiOptions.Services._databases = [];
StiOptions.Services._databases.add(new Stimulsoft.Report.Dictionary.StiFirebirdDatabase());
StiOptions.Services._databases.add(new Stimulsoft.Report.Dictionary.StiMySqlDatabase());
StiOptions.Services._databases.add(new Stimulsoft.Report.Dictionary.StiSqlDatabase());
Thank you.
alireza_s_84
Posts: 18
Joined: Fri Jan 27, 2017 4:43 am

Re: How to remove unnecessary Type of Connection?

Post by alireza_s_84 »

perfect
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: How to remove unnecessary Type of Connection?

Post by Alex K. »

Hello

We are always glad to help you!
Please let us know if you need any additional help.

Thank you.
Post Reply