Skip to content

Issue with DHTMLX lib 8.0 - Printing Service #36

Open
@jzzh

Description

@jzzh

Hi Ottmar

After upgrading to version 8.0.x there were no errors and the Gantt rendering is still working.

There is just the issue with the changes for the printing service.

Printing in 8.0 now works with an extension and the PDF generation is only creating empty files for me.

gantt.plugins({
export_api: true
});
https://docs.dhtmlx.com/gantt/migrating.html

I tried this workaround by hardcoding the setting in the Plugin code, but it did not have an effect.

-- prepare code for extensions 
v_extensions := APEX_UTIL.STRING_TO_TABLE(p_region.attribute_17);
    for i in 1..v_extensions.count loop
        v_extensions_js := v_extensions_js || 'gantt.plugins({ ' || v_extensions(i) || ': true });';
    end loop;
-- Hardcoded Workaround
v_extensions_js := v_extensions_js || 'gantt.plugins({ export_api: true });';

Would you know a workaround until you find the time to upgrade the plugin to 8.0 ?

Thanks,
Jochen

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions