rendering control based on variable type and data source

Stimulsoft Reports.WEB discussion
Post Reply
shyam.pundkar
Posts: 56
Joined: Fri Feb 21, 2014 9:26 am

rendering control based on variable type and data source

Post by shyam.pundkar »

Hi,

I want to know if there a way to render control based on variable type and data source?

The scenario is to be able to create 5 user defined variables in report:

(1) An integer variable
a. Normal Variable
b. List of value
(2) A String Variable
a. User entered String value
b. List of String Values
(3) A Boolean variable

When the report is being generated, the user can specify these variables (this basic feature is there).
But the input are just user “typed” in value, even if you configure the variable to be a defined list of values, so that the user can pick one value from a list of value. E.g. a string variable that’s got this list “AAA”, “BBB”, “CCC”, “DDD”. Then the user can only select of those 4 values. Basically displaying a control similar to select html listing all items of the datasource.

Also, if it’s Boolean, if there would be a checkbox so use can just select. If it’s an integer, only numbers are allowed.

Can we have such control representing the variable type and data sources?

Thanks
Lech Kulikowski
Posts: 6327
Joined: Tue Mar 20, 2018 5:34 am

Re: rendering control based on variable type and data source

Post by Lech Kulikowski »

Hello,

No, this feature is not available.

You can use only variables types available in the dictionary.

Thank you.
Post Reply