Recent Posts

Pages: 1 ... 4 5 [6] 7 8 ... 10
51
Thanks , Its working.
52
Thanks for reporting the issue. It's caused by change in functioning of jquery show method in 3.x, it only works if the element is attached to DOM.

There are 2 alternate ways to fix it.

1) Use this patch:

Code: [Select]
$.paramquery.pqGrid.prototype.showLoading = function () {
  this.loading = true
  this.$loading[0].style.display = "block"
}

or
2. Change the detailModel.init method

Code: [Select]
        init: function (ui) {
          var rowData = ui.rowData,
            detailobj = gridDetailModel(this, rowData), //get a copy of gridDetailModel
            $grid = $("<div/>") //.pqGrid(detailobj) //init the detail grid.

          setTimeout( _ => $grid.pqGrid(detailobj) );

          return $grid
        },

jsfiddle: https://jsfiddle.net/rpx0dkef/1/
53
Please ensure to upgrade jqueryUI also to one of the latest versions compatible with jquery 3.7.1.

Please remove the scrollModel.autoFit:  true option to display the horizontal scrollbar when required.
54
Hello,

I have upgraded PQ Grid version to 9.1.1 from 3.3 and JQuery version to 3.7.1 from 2.1.4.

After upgraded this, in PQ grid Horizontal scrollbar not getting displayed, if columns having more in grid.

In my case PQ grid column's are not fixed. I can select/unselect column's from dropdown also to display in the grid as per requirement. previously it was working as expected.


Please advise.
Thanks.
55
Hi Paramvir, I found the cause of issue its because of jQuery version Library v3.7.1 . So any work around for jQuery 3x version as it working fine with jQuery 2x. versions ?
56
Help for ParamQuery Pro / Re: Using loadState in grouped fields
« Last post by paramvir on March 11, 2025, 03:19:33 pm »
Is there any particular sequence of events which cause the error.

I've clicked the saveState and loadState buttons a couple of times while continuously changing various grid options, such as the group-by column, order of columns, page number, etc., but I haven't been able to reproduce the error so far.
57
Help for ParamQuery Pro / Using loadState in grouped fields
« Last post by omerix on March 10, 2025, 04:10:13 pm »
Hello,

I have a grid where I group some columns using ParamQuery Grid. I grouped the columns in colModel again using colModel.

For example, I created a group called "Dates". Then I moved the column "Order Date" into it. However, when I try to save and restore this change, I get an error.

In some cases, I get the error "p is undefined".



https://jsfiddle.net/5j760ehL/3/
Code: [Select]
    {
      title: "Dates",
      align: "center",
      dataIndx: "grupDates",
      hidden: false,
      colModel: [
        {
          title: "Required Date",
          width: 100,
          dataIndx: "RequiredDate",
          dataType: "date",
        },
        {
          title: "Shipped Date",
          width: 100,
          dataIndx: "ShippedDate",
          dataType: "date",
        },
      ],
    }


Error line: ParamQuery 10.1.0 line 5585
Code: [Select]
m && (v.parentId != m.parentId && (p = s[v.parentId], g = s[m.parentId]) && (p.colModel.splice(p.colModel.indexOf(v), 1), g.colModel.push(v)), this._saveState(m, v, u))

58
Help for ParamQuery Pro / Re: Treegrid pagination
« Last post by paramvir on March 07, 2025, 07:08:27 am »
It's mentioned on this example: https://paramquery.com/pro/demos/treegrid

Paging:

Treegrid is not compatible with paging.
59
Help for ParamQuery Pro / Treegrid pagination
« Last post by effective on March 07, 2025, 12:15:25 am »
Hello!

We've been using treegrid for analysing product structure, and some products return more then 8k lines. That being said, we've noticed that Expanding and Subtracting treegrid nodes only work on Page 1.

We've tested that on https://paramquery.com/pro/demos/treegrid also, by adding a pageModel with rPP:5 and it also only expands/subtracts when using the first page.

Maybe we're doing something wrong, is there a way of overriding the expand method or something? Or is this a bug?

Thanks!
60
I was hoping to see the live issue on jsfiddle. Since your jsfiddle is not functioning, I can only make a guess. There are a couple of showLoading and hideLoading calls in your code. Please comment them one by one and see how it goes.
Pages: 1 ... 4 5 [6] 7 8 ... 10