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 - nsymons

Pages: [1]
1
Help for ParamQuery Pro / Struts 2 jQuery tabs and paramquery issue
« on: September 17, 2024, 12:45:09 am »
We are currently utilizing Struts v2.5.33 and pqGrid v7.3.0. When we are working within the tab and attempt to call a modal that contains a grid it throws an error. The tabs and modal open when we comment out the line $grid = $("#gridSelector").pqGrid(obj); within the modal. So we know the tabs and modal work, but once paramquery is introduced it fails. We have the same modal work on other pages without the struts tabs functionality. The error in the browser is as follows that points to the call of the rendering of the tab that contains the modal and paramquery:

VM158:59 Uncaught SyntaxError: Unexpected token ';'
    at eval (<anonymous>)
    at Function.globalEval (jquery-2.2.4.min.js:2:2640)
    at ua (jquery-2.2.4.min.js:3:13257)
    at n.fn.init.append (jquery-2.2.4.min.js:3:14539)
    at n.fn.init.<anonymous> (jquery-2.2.4.min.js:3:15641)
    at K (jquery-2.2.4.min.js:2:30342)
    at n.fn.init.html (jquery-2.2.4.min.js:3:15322)
    at <anonymous>:23:30

Has this been seen before or has a possible solution within paramquery?

2
ParamQuery Pro Evaluation Support / Paramquery Pro License registration
« on: October 26, 2020, 09:16:26 pm »
Hello,

A new license was purchased for Paramquery Pro for my company use, please upgrade this account to pro with:

Transaction ID: xxxxxxxxxxxxxx2906

Thanks!

3
Changed. That fixes the filter row not properly displaying but causes an undesired effect of all title header rows being too tall with extra dead space (Just edit the integer to 40 on https://jsfiddle.net/13v9L5to/ to see the effect I am talking about). Is there not a fix to edit just the height of the filter row and not every row in the header to resolve the issue of the checkboxes and filter shift on click. Attached is a before the proposed fix with headers and filter row not showing and a after proposed fix with filter row showing but the header titles too large.


4
https://jsfiddle.net/y1s35m2u/1/


Setting to anything above 25 does the following:

5
rowHtHead is an integer only as per the API, when I assign the values of 1 and 2 the following occurs which does not improve the issue. As the number increases it just continues to grow. All of the column header titles are hidden, as the integer increases the bottom column header shows but the column grouping header continues to not show.

acl.obj = {
    width: 'auto',
    height: 'flex',
    maxHeight: '100%',
    rowHeight : '19',
    hwrap: false,
    numberCell: {show: false},
    selectionModel: { type: 'null' },
    autoRowHead: false,
    rowHtHead: '0',
    filterModel: { on: true, mode: "AND", header: true, menuIcon: false,
        gridOptions: {
          numberCell: { show: false },
          flex: { on: true },
          showHeader: false,
        }
      },
    freezeCols: 3,
    postRenderInterval: -1,
    dataReady: function(event, ui){calculateSummary(this); },
    change: function(event, ui){calculateSummary(this); },
    columnTemplate: {hvalign: 'bottom'},
    complete: function(event, ui){calculateSummary(this); },
    editorEnd: function(event, ui){ sanitizeInputGrid(this, event, ui); },
    colModel:[
      { dataIndx: 'cb', title: '', cb: {all: true, header: true, select: true, check: "true", uncheck: "false"}, type: 'checkbox',
        editor: false, sortable: false, minWidth: 30, maxWidth:30, align: "center"},
      { title: "CP Number", dataType: "string", dataIndx:'cpNumber', nodrag: true, editable: false, minWidth: 110, maxWidth: 120,
            filter: { crules: [{condition: 'begin'}], }},
      { title: "CP Name", dataType: "string", dataIndx:'cpName', nodrag: true, editable: false, minWidth: 385, maxWidth: 385,
         filter: { crules: [{ condition: 'begin'}] }},
      { title: "Collateral", colModel:[
        { title: "Secured", dataType: "string", dataIndx:'colSecured', nodrag: true, editable: false, minWidth: 115, maxWidth: 160, align: "right",
          sortType: sortNumbers,
          filter: { crules: [{ condition: 'customFilter' }] },
          render: function(ui){
            return formatNumber(ui.rowData.colSecured);
          }}, 
        { title: "Unsecured (GA+UCL)", dataType: "string", dataIndx:'colUnSecured', nodrag: true, editable: false, minWidth: 140, maxWidth: 140, align: "right",
            sortType: sortNumbers,
            filter: { crules: [{ condition: 'customFilter' }] },
            render: function(ui){
              return formatNumber(ui.rowData.colUnSecured);
            }}, 
        ]},

6
Now with this option specified. My filters are not completely displaying on any grid. See attachments.


7
Thanks for the quick response. I was not aware of this option.

8
https://jsfiddle.net/3p20f5w8/

With 7.2 when a grid has a filter row setup to filter the columns and a column with checkboxes, whenever a checkbox is clicked the filter row resizes by upwards of 30px and this causes whole grid shifts up temporarily causing a poor user experience for users attempting to click multiple checkboxes in a row. If you remove the filtering row the grid does not shift.

Steps to reproduce:
1) Click any data row checkbox in Paid column on linked fiddle that is not a header/filter checkbox.

9
Help for ParamQuery Pro / Re: Need help registering new License.
« on: July 31, 2019, 12:16:17 am »
Thanks!

10
Help for ParamQuery Pro / Need help registering new License.
« on: July 30, 2019, 08:05:26 pm »
I can not find a direct way to update my license with my new license purchased through my company for my account. Please inform me on the instructions to do so.

WW MSO#xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Thanks.

11
Hello,

When the user selects the last row of data in the grid the grid will fill out to the maxHeight value set and displays white space under the last row of data. When the user then selects the top row the white space disappears and the height of the grid is changed to the proper height with height: 'flex' to not display white space after the final row of data. This only occurs when there is not enough data to fill the grid to its maxHeight. Is this an issue with just the Pro v3.3.2?

Here is a snippet of the object.

var cashObj = {
  width: 'auto',
  height: 'flex',
  maxHeight: 650,
  freezeCols: 4,
  virtualX: true,
  virtualY: true,
  numberCell: {show: false},
  title: "Cash",
....
}

Pages: [1]