1
Help for ParamQuery Pro / How to download the latest version 5.1.0
« on: January 31, 2018, 02:05:36 pm »
how to download the latest version 5.1.0?
Transaction ID: xxxxxxxxxxx6733R
Transaction ID: xxxxxxxxxxx6733R
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.
//setter
var CM = $grid.pqGrid("option", "colModel");
var strCM = JSON.stringify(CM);
$.cookie("CM", strCM);
//alert(strCM);
//getter
var strCM2 = $.cookie("CM");
alert(strCM2);
var CM2 = JSON.parse(strCM2);
$grid.pqGrid("option", "colModel", CM2);
$grid.pqGrid("refresh");
toolbar: {
cls: "pq-toolbar-search",
items: [
{ type: "<span style='margin:2px;'>Grid Title</span>" },
{ type: 'separator' },
{
type: 'checkbox', style: 'margin-right:5px;', attr: 'id=seinactive', listener:
{
"change": function (evt, ui) {
// Function
filter("Ship Country", "Brazil");
}
}
},
{ type: "<label for='seinactive'>Inactive</label>" },
function filter(dataIndx, value) {
$grid = $("#grid_custom_editing").closest('.pq-grid');
$grid.pqGrid("filter", {
data: [{ dataIndx: dataIndx, value: value, type: "local" }]
});
$grid.pqGrid("refreshDataAndView");
}
change: function(evt, ui){
if(ui.source=='ms'){
return;
}
var userInput = Data.areas[0].label;
var current_row = ui.rowIndx;
$(this).pqGrid("updateRow", { rowIndx: current_row, row: { 'Area': userInput }, source: 'ms' });
},
...
change: function (event, x) {
var userInput = Data.areas[0].label;
var currentRow = ui.rowIndx;
console.log(currentRow);
$grid.pqGrid("updateRow", { rowIndx: currentRow, row: { 'Area': userInput } });
$grid.pqGrid("refreshRow", { rowIndx: currentRow });
}
...