I know this method can listen, but the response here does not return specific information about the interface
window['GanttComponent'].component.gantt.features.pdfExport.export({
// Required, set list of column ids to export
columns : window['GanttComponent'].component.gantt.columns.map(c => c.id)
}).then(result => {
console.log(result)
// Response instance and response content in JSON
let { response } = result;
window.GanttComponent.component.pdfExport(JSON.parse(window.decodeURIComponent(Base64.decode(localStorage.getItem("userInfo")))).UserName);
});
Re: [ANGULAR] The export function has no style
Posted: Thu Dec 08, 2022 5:46 am
by alex.l
Sorry, I don't follow. What is "specific information about the interface"?
Re: [ANGULAR] The export function has no style
Posted: Thu Dec 08, 2022 7:10 am
by shimnx
Now that pdf has no display style, I have introduced csss in index.html
Re: [ANGULAR] The export function has no style
Posted: Thu Dec 08, 2022 2:43 pm
by Maxim Gorkovsky
Response from the server contains only a link to a file, nothing more.
Sorry, I still don't know how to load the style. One of the examples I uploaded is an official example, which can be exported normally after running, while the other example still cannot load the style. I have compared it for a long time and don't know what it lacks
Re: [ANGULAR] The export function has no style
Posted: Tue Dec 13, 2022 9:04 am
by shimnx
This is an urgent problem. Could you please help me check the problem? Thank you very much