1
Suggest new features / Renewal
« Last post by dudhaiyag on Today at 12:14:51 pm »My subscription expired and I would like to signup for pro support. What is the link and the cost?
const defaultState = grid.saveState({ stringify: true });
localStorage.setItem('myGridDefaultState', defaultState);
const savedState = localStorage.getItem('myGridDefaultState');
if (savedState) {
grid.loadState({ state: savedState, refresh: true });
}
pq.aggregate.sumRound = function(arr, col) {
let rounded = arr.map(val => parseFloat(Number(val).toFixed(2)));
return pq.aggregate.sum(rounded, col);
};
agg: {"PRICE":"sumRound"}
groupModel: {
on: true,
header: false,
grandSummary: true,
agg: {"PRICE":"sum"}
},
summaryTitle:{sum:""},
formulas: [
[
"sum",
function(rd)
{
return Math.round(rd.cellData * 100) / 100;
}
]
],
Unload event listeners are deprecated and will be removed.
1 source
filesaver.js:232
view.addEventListener("unload", process_deletion_queue, false);
rating_filter = {
crules:[{condition:"contain"}],
// type:"select", // HAS NO EFFECT
init: function(ui)
{
// Cretae a new <select>
var sel = $("<select>", {style:"width:100%; text-align:"+dir})
.insertAfter(ui.$editor)
.change(function(){ ui.$editor.val(this.value).change(); });
// Hide the input
ui.$editor.hide();
// Add the options
$("<option>", {html:"All", value:""}).appendTo(sel);
for(let i=0; i<6; i++)
$("<option>", {text:"★".repeat(i), value:i}).appendTo(sel);
ui.listener = "change";
// Hide the clear icon
ui.$cell.find("span.pq-clear-icon").hide();
// Send back message all good
return true;
}
};