1
Help for ParamQuery Pro / Re: Error: "no such method 'exportData' for pqGrid widget instance" when calling exp
« on: November 14, 2025, 05:05:22 pm »
Thanks , it works
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
var blob = $("#grid").pqGrid("exportData", {
filename: "Report",
format: "xlsx",
sheetName: "Sheet1"
});
filter: {
crules: [{condition: 'range'}],
gridOptions: {
stripeRows: false,
filterModel: {header: false}
},
options: [
{"": lang.allTxt},
{"0:1": "days <= 1"},
{"1:7": "1 < days <= 7"},
{"7:14": "7 < days <= 14"},
{"14:21": "14 < days <= 21"},
{"21:30": "21 < days <= 30"}
],
//override range compare.
conditions: {
range: {
compare: function (cellData, val) {
console.log("cellData", cellData, "val", val);
return true;
}
}
}
}