ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: arbyter on December 21, 2023, 08:39:31 pm

Title: export to pdf from grouped grid with selection checkbox
Post by: arbyter on December 21, 2023, 08:39:31 pm
hi
i am happy to discover the pdf export feature.
Now i try to export a grid with group using the checkbox option:
obj.groupModel = {
            checkbox: true,
            checkboxHead: true,           
            on: true,
            dataIndx: ["titel"],                       
            menuItems: ["grandSummary"],           
            summaryInTitleRow: "all",
            titleInFirstCol: true,
            fixCols: false,
            indent: 320,
            collapsed: [false, true],
            title: [
                "{0} ({1})",
                "{0} - {1}"
            ]
when i want to export some of the checked records (option selection:"row" , nothing gets exported)
Title: Re: export to pdf from grouped grid with selection checkbox
Post by: paramvir on December 21, 2023, 10:30:27 pm
option selection:"row" is for row selections, so you also need to add select: true to groupModel.
Title: Re: export to pdf from grouped grid with selection checkbox
Post by: arbyter on December 23, 2023, 04:14:54 pm
thanks a lot!