Loading Custom Styles(.sts) in runtime
Posted: Thu Nov 04, 2021 7:20 am
Hi,
I want to know how to load the custom style (.sts) file and apply it to the report designer's ''select style'' section using javascript.
in some post, you mentioned about the we can do it by some methods like,
loadFromJsonObject(jObject: StiJson)
loadFromXml(xmlNode: XmlNode)
but couldn't find any methods in JS documentation section.
https://admin.stimulsoft.com/documentat ... eport.html
Appreciate, if you could give some code examples of how we can achieve this using JavaScript.
thank you.
Regards,
damith
I want to know how to load the custom style (.sts) file and apply it to the report designer's ''select style'' section using javascript.
in some post, you mentioned about the we can do it by some methods like,
loadFromJsonObject(jObject: StiJson)
loadFromXml(xmlNode: XmlNode)
but couldn't find any methods in JS documentation section.
https://admin.stimulsoft.com/documentat ... eport.html
Appreciate, if you could give some code examples of how we can achieve this using JavaScript.
thank you.
Regards,
damith