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

Pages: [1]
1
I have so far been unable to make a simple grid refresh to work when attempting to render ParamQuery grid in an Angular 9 application.

I can successfully run all of the example Angular application examples that are provided on the ParamQuery web site (like https://paramquery.com/pro/demos/ng_switch_data).  What I want to do is something slightly more involved, and is not shown in the samples.  This is modifying the dataModel of a ParamQuery grid, and executing a "refresh" or  "refreshDataAndView" on the grid.  Is this capability supported if the grid is being used in an Angular application?  Is there any reference implementation that can be made available that refreshes grid data, in an angular app?

Following is the javascript error they I see:
ERROR TypeError: Cannot read property 'length' of undefined
    at push../node_modules/pqgrid/pqgrid.min.js.t.paramquery.cRefresh.addRowIndx (pqgrid.min.js:12)
    at $.<computed>.<computed>.<anonymous> (pqgrid.min.js:12)
    at n (pqgrid.min.js:9)
    at $.<computed>.<computed>.push../node_modules/pqgrid/pqgrid.min.js.e._trigger (pqgrid.min.js:9)
    at $.<computed>.<computed>.push../node_modules/pqgrid/pqgrid.min.js.a.refreshDataFromDataModel (pqgrid.min.js:10)
    at $.<computed>.<computed>.push../node_modules/pqgrid/pqgrid.min.js.a.refreshView (pqgrid.min.js:10)
 
Many thanks!

2
Help for ParamQuery Pro / Re: Popup Editing demo for Pro 3.3.0
« on: May 17, 2016, 07:35:13 pm »
We were hoping to see a working demo of the Popup Editing logic only because we have encountered a couple troubling differences when running non-Pro logic using the 3.3.0 libraries.  It is likely something we've overlooked but so far the cause has escaped us.  A working demo would be great, or if you can suggest viable work-arounds then that would be appreciated.  Almost everything works identically, but we ran into the following:

1) When running 2.0.4 demo code against 3.3.0 libraries, the dialog buttons do not show when the popup is first displayed.  We are running with the same jQuery and jQuery-ui libraries that are used in other 3.3.0 demos, which is jQuery 1.9.1 and jQuery-ui 1.11.4.  If we switch to use older jQuery and jQuery-ui libraries then the issue clears up, but its not clear why, and we'd prefer to reference the newer libraries that are referenced elsewhere in 3.3.0.

2) We'd prefer to set the grid editable property to false, so that inline row editing cannot occur.  In the 2.0.4 demo, the editable option appears to work such that a 'false' setting prevents inline row editing, but it is still possible to update a row using the updateRow method (which is perfect for a popup dialog  approach).  In 3.3.0, when the grid editable property is false, we are not able update the row using updateRow method. 

Attached is a sample of the code we're working with. 

Thanks again for your help.

3
Help for ParamQuery Pro / Popup Editing demo for Pro 3.3.0
« on: May 12, 2016, 10:12:24 pm »
Hello,

The Param Query Pro examples do not include a “Popup Editing” demo, though the free version does have one (see Editing->Popup editing demo at http://paramquery.com/demos).  We have immediate use for such a feature on our current project.  Would it be possible to get a code sample/demo source of the Popup editing feature working with Param Query Pro 3.3.0 libraries?

Thank you!
Tim

4
Bug Report / Adding input field into grid toolbar
« on: May 12, 2016, 10:08:56 pm »
Hello,

When a toolbar is added to the grid, and then an <input> type element is added as an item into the toolbar, then other <input> elements on the page are unexpectedly moved inside the toolbar when the grid is rendered.  This affects elements that are apparently apart and disconnected from the grid.

Attached is an file with simple HTML / JavaScript to demonstrate the issue.

Please note that is more than just a bug submission.  We have a user requirement to added elements into the toolbar.

Tim

Pages: [1]