I add a custom button in the designer,and when i click the button,it will bind a custom datasource to the report.
The attachment is my page, the dictionary is not update when I click the custom button.

Hi! I have the same question with Stimulsoft Reports.JS 2023.2.8. I can't find the SendCommandSynchronizeDictionary function in Stimulsoft.Designer.StiDesigner.jsObject, could you please give me some help?Lech Kulikowski wrote: ↑Mon Mar 29, 2021 6:42 am Hello,
Please check the following code:
designer.jsObject.SendCommandSynchronizeDictionary();
Thank you.
Hello, I eventually found the function in the prototype for Stimulsoft.Designer.StiDesigner.jsObject. There were a large number of functions in Reports.JS that did not have TypeScript definitions, causing me to have to print the relevant variables to the console to manually look them up when I was developing with TypeScript, preventing me from missing the function I needed to use. I hope the developer can try to improve the TypeScript declaration file, thank you!Lech Kulikowski wrote: ↑Tue Jul 25, 2023 8:47 pm Hello,
Please check the sample project from the previous posts.
Thank you.