Page 1 of 1

How to show only Table/Column alias in DataSource tree

Posted: Wed Jun 22, 2022 10:49 am
by Vitalii_bizone
hello! I've added "alias" for every "report.dictionary.dataSources" and for all "dataSource.columns"
and now user can see "columnName [columnAlias]"
and i wonder: is it a way to show only alias?

Re: How to show only Table/Column alias in DataSource tree

Posted: Wed Jun 22, 2022 1:38 pm
by Vitalii_bizone
i've found solution by myself, thanks :)
this option useAliases is neither mentioned in docs https://www.stimulsoft.com/en/documenta ... rts_js.htm nor commented what it does in types.d.ts

new Stimulsoft.Designer.StiDesignerOptions().dictionary.useAliases = StiUseAliases.True;

Re: How to show only Table/Column alias in DataSource tree

Posted: Wed Jun 22, 2022 2:01 pm
by Max Shamanov
Hello,

You are welcome!