Show Posts

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.

Messages - mercury85

Pages: [1] 2 3 4
Bug Report / Re: paramquery Cannot read property 'Z' of undefined
« on: July 09, 2018, 02:19:25 pm »
 t(function() {
        var n = e.Z,
            r = e.cssZ,
            i = n(),
            o = r();
        e.isZoom = function() {
            var t = n(),
                e = r();
            return i != t || o != e ? (i = t, o = e, !0) : void 0
        var a = e.isSB,
            l = a();
        t.paramquery.onResize(document.body, function() {
            var e = a();
            e != l && (l = e, t(window).trigger("resize", {
                SB: !0
    }), t(window).on("resize", function() {
        e.ISZOOM = e.isZoom()
    var e = t.paramquery.cRefresh = function(e) {
        var n = this;
        n.vrows = [], n.that = e, e.on("dataReadyDone", function() {
        }), t(window).on("resize" + e.eventNamespace + " orientationchange" + e.eventNamespace, n.onWindowResize.bind(n))
    t.extend(e, {
        Z: function() {
            return (window.outerWidth - 8) / window.innerWidth
        cssZ: function() {
        isFullScreen: function() {
            return document.fullScreen || document.mozFullScreen || document.webkitIsFullScreen || window.innerHeight == screen.height
        isSB: function() {
            return t(document).height() > t(window).height()

Bug Report / paramquery Cannot read property 'Z' of undefined
« on: July 09, 2018, 01:51:08 pm »
Hi I am trying to load the grid into a JQuery Template and am receiving the following error.  Jquery 2.1.0 must be different, not sure if there is a way to get teh screen values to work with 2.1.0 as I am receiving errors on the UI.

Cannot read property 'Z' of undefined
    at HTMLDocument.<anonymous> (pqgrid.min.js:4466)
    at j (jquery.min.js:2)
    at Object.add [as done] (jquery.min.js:2)
    at o.fn.init.o.fn.ready (jquery.min.js:2)
    at new o.fn.init (jquery.min.js:2)
    at o (jquery.min.js:2)
    at pqgrid.min.js:4465
    at pqgrid.min.js:4644


Hi did a fiddle on this, I noticed in my main project I was having issues changing the child.  Is this related to not being able to refresh also in pivot mode.

I have attached behavior I am seeing, and also noticed it having issues in fiddle.

Suggest new features / groupModel Option titleInFirstCol
« on: May 20, 2018, 07:37:01 am »
Hi, I was wondering if there was a way to breadcrumb the title in first row option.  So as you scanning the data and in a big group, there was a way to remember what you are looking at.

Group 1
Group 1 > Group 2
Group 1 > Group 2 > Group 3

Help for ParamQuery Pro / Re: Local Storage
« on: May 18, 2018, 08:54:59 am »
That is perfect!!!  Now to finish up my service workers :)

Help for ParamQuery Pro / Re: Local Storage
« on: May 17, 2018, 09:10:35 pm »
Ok was too tunnel vision here... I just need to chain my events out for the loads, and hit paramquery after I get the promise... thanks for your help...

Help for ParamQuery Pro / Re: Local Storage
« on: May 17, 2018, 05:00:38 am »
No its just a quick paste, the console.log(value) is the successful promise when, and the integration is there....  that is when it binds to the datamodel.... , i am doin another log to verify the value.. how are you handling async right now?

Help for ParamQuery Pro / Re: Can filters be share across 2 grids
« on: May 16, 2018, 03:30:55 pm »
Ah ok, I was wondering if there was some method that may invoke the filter to be pushed down.  I was thinking if it was possible to extend a data model or column model to a child that maybe it could be with the filters also.  Thanks!

Help for ParamQuery Pro / Can filters be share across 2 grids
« on: May 16, 2018, 01:46:47 pm »
Can external children grids be linked on filters so the master grid controlled the context on the child. 

$( ".selector" ).pqGrid( { filterModel: { header: true } } );

Help for ParamQuery Pro / Re: Local Storage
« on: May 16, 2018, 09:54:42 am »
Hi, I have provided an example with the attempt to use IndexDB on the following fiddle.

I am loading IndexDB when a user first logs on, and the getter still is off when I receive a promise.

Help for ParamQuery Pro / Re: Dynamic Formulas with functions
« on: May 15, 2018, 02:50:24 pm »
Stupid me....

had the following on the hidden column....

                summary: {
                        type: "sum",
                        edit: false

with that said, is there a way to just sum at the child level?

Help for ParamQuery Pro / Dynamic Formulas with functions
« on: May 15, 2018, 01:40:24 pm »
.I am almost complete, but am on one last portion.  How could we create dynamic formulas..

                var formulaModel = ['r' + key, function (rd) { return rd.SERIES_TYPE === 'Forecast' ? rd[key]: undefined; }];

Trying this but no go so far...

Took the render off the colModel, and it looks like it is in teh render area...

  var colRenderObjCreate = {
                    title: key,
                    width: 150,
                    dataIndx: 'r' + key,
                    format: "##,###",
                    hidden: false,
                    nodrag: true,
                    align: "center",
                    cls: "date-col",
                    summary: {
                        type: "sum",
                        edit: false
                    render: function (ui) {
                    var rd = ui.rowData;
                        return (rd.SERIES_TYPE != 'Forecast' ?
                    pq.formatNumber(rd[key], ui.column.format) :

strangest thing is it is working only at the most child level...

Thank you

Perfect thank you!!!

Help for ParamQuery Pro / groupModel works when toggling Grouping
« on: May 15, 2018, 10:56:44 am »

Working more on the calls from IndexDB and now, I have created my colModel dynamically and everything looks good,  I am having some issues with the groupmodel not initializing unless I push toggl on/off, At the end I add the group model and refreshviewanddata hoping it refreshes but no luck.

  var groupModel = {
        on: true,
        indent: 20,
        dataIndx: dataIndx,
        summaryInTitleRow: "all",
        grandSummary: true,
        showSummary: [],
        summaryEdit: false,
        titleInFirstCol: true,
        bold: true,
        collapsed: [false, false, false, true],
        title: ['{0}', '{0}', '{0}', '{0}']

   var grid = pq.grid("#grid_group_rows", obj);
    grid.colModel = buildColM;

Help for ParamQuery Pro / Re: Local Storage
« on: May 12, 2018, 08:44:06 am »
I'll try and get it on there, it happens but not so often, I am playing around with some service workers seeing if that helps.  What is happening is it is asynchronous, and I am wrapping the methods for the storage for the promises and IndexDB is only asynchronous...   So it blows by my first call and straight to the grid  Not sure how well fiddle will work but will get it on there.  Installed a package on Nuget, and it blew all my references out with other dependencies so now my controller is refusing connections :(....  Wish it would confirm about 20 references being installed before actually doing it......

Pages: [1] 2 3 4