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

Pages: [1]
1
Thanks for thew feedback

I think I figured out the variable here.  I thought I was going crazy this use to work and then suddenly didn't.  The one difference is I just got a new system and am now on Widows 10.  When I look at the fiddle on a Windows 7 system I do not see the error either and it works correctly but on my new windows 10 machine I get the problem.  This is very strange.

If you tested on other than a windows 10 do you have the ability to test on that platform? for nothing else than to prove or disprove my theory.

Thank you for your help

2
Bug Report / Re: Error when using cancel to close up a detail row
« on: March 01, 2018, 08:21:14 am »
Thank you

I tried using the rowCollapse method as suggested but I still get the  error in the browsers JS console

pqgrid.dev.js:20625 Uncaught TypeError: Cannot read property 'style' of null
    at pq.cRenderHead.setRowHtArr (pqgrid.dev.js:20625)
    at pq.cRenderHead.autoHeight (pqgrid.dev.js:19911)
    at pq.cRenderHead.<anonymous> (pqgrid.dev.js:21369)
    at pqgrid.dev.js:20650

However I can run the rowCollapse after a 300 millisecond setTimeout without needing a refresh and it works without the error.  So it seams from the error like something is trying to adjust some styles after the detail has closed and it is no longer visible and there are no longer any styles to work with

3
OK here is a jsfiddle:
https://jsfiddle.net/cqkaw0kh/6/

I did this in FF but I believe you should see the same thing in Chrome.  If you open the browser's development tools then resize the window you will see the ReferenceError: o is not defined
[Learn More]
pqgrid.min.js:12:6000

error

And especially if you change the height it doesn't resize correctly.

I did find while building the fiddle that if I leave out the   pqselect.dev.js file then the error does not occur and it works better but it sill does not resize correctly when changing the height of the window

Thank you for your help

4
OK it will take a little time to get this broken down into its essences to put in a Fiddle will post it when I have it set up.

Thank you

5
Bug Report / Error when using cancel to close up a detail row
« on: February 28, 2018, 06:56:05 am »
Pro version 5.1.0

I have built a grid using a combination of the 'Row Editing' demo and the 'Row Detail' demo where as part of editing a row you can expand details and edit info in a couple of tabs there.  However when I click on the Cancel button and Rollback all changes in the row and the detail grids and then set rowData.pq_detail.show = false I am getting the following error:

Uncaught TypeError: Cannot read property 'style' of null
    at pq.cRenderHead.setRowHtArr (pqgrid.dev.js:20625)
    at pq.cRenderHead.autoHeight (pqgrid.dev.js:19911)
    at pq.cRenderHead.<anonymous> (pqgrid.dev.js:21369)
    at pqgrid.dev.js:20650

I get this once for each grid that is in the row detail

However if I use setTimeout and do the rowData.pq_detail.show = false 500 milliseconds later then I do not get the error.  But if possible I would rather not do that it makes the application look sluggish. 

6
in Pro version 5.1.0
Whenever I resize the page and the grid is resized I am getting the following error:

Uncaught ReferenceError: o is not defined
    at $.paramquery.cRefresh.onWindowResize (pqgrid.dev.js:7369)
    at dispatch (jquery-3.3.1.js:5183)
    at elemData.handle (jquery-3.3.1.js:4991)

Looking at the code I do not see any definition of o being set

Pages: [1]