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.


Topics - Webauthor

Pages: [1] 2
1
Help for ParamQuery Pro / Lazy Loading - POST Method
« on: November 07, 2022, 05:14:14 am »
Hi,

In the new "lazy" option for dataModel.location, it seems to be only using GET as the request method.  In my remote datasource, I need to use POST because of the amount of data I'm passing to the remote function. 

Can the "lazy" location option be updated to use the method defined in dataModel, e.g. POST?

2
Hello,

Since very 8.4, render functions defined as a string (to point to an external function) are no longer working.

You can see in this fiddle showing 8.3.  A simple function is defined "renderCell" and specified in the render attribute of the first column in colModel - Rank.
https://jsfiddle.net/webauthor/c30seLq8/6/

When switching the library to 8.5, we're getting the error below:
https://jsfiddle.net/webauthor/65myvwop/

ERROR:
"jQuery.Deferred exception: t.call is not a function", "TypeError: t.call is not a function
    at t.callFn (https://support.webauthor.com/lib/pqgrid/8.5/pqgrid.min.js?ver=20210813-A:9:121172)
    at pq.cRenderSum.renderCell (https://support.webauthor.com/lib/pqgrid/8.5/pqgrid.min.js?ver=20210813-A:9:93605)
    at pq.cRenderSum.generateCell (https://support.webauthor.com/lib/pqgrid/8.5/pqgrid.min.js?ver=20210813-A:9:369570)
    at pq.cRenderSum.renderRow (https://support.webauthor.com/lib/pqgrid/8.5/pqgrid.min.js?ver=20210813-A:9:378141)
    at pq.cRenderSum.renderView (https://support.webauthor.com/lib/pqgrid/8.5/pqgrid.min.js?ver=20210813-A:9:378408)
    at pq.cRenderSum.refresh (https://support.webauthor.com/lib/pqgrid/8.5/pqgrid.min.js?ver=20210813-A:9:375809)
    at pq.cRenderSum.refreshAllCells (https://support.webauthor.com/lib/pqgrid/8.5/pqgrid.min.js?ver=20210813-A:9:376507)
    at pq.cRenderSum.initPost (https://support.webauthor.com/lib/pqgrid/8.5/pqgrid.min.js?ver=20210813-A:9:390322)
    at pq.cRenderBody.init (https://support.webauthor.com/lib/pqgrid/8.5/pqgrid.min.js?ver=20210813-A:9:383204)
    at v.paramquery.cRefresh.refresh (https://support.webauthor.com/lib/pqgrid/8.5/pqgrid.min.js?ver=20210813-A:9:113125)", undefined

3
Help for ParamQuery Pro / exportData - Excel - rendering HTML text
« on: March 09, 2022, 03:46:20 am »
Hi, I have an issue where a column with HTML renders just fine in the grid, but when exporting to excel, even with render:true, it only shows the HTML tags.  I took one of your demo examples and created a fiddle to show the behavior:

https://jsfiddle.net/webauthor/c30seLq8/3/

In the dataModel for company, I have one entry with a <ul> list.  It renders correctly in the grid, but not when exported via Excel.  I've tried playing with various options like render:true/false, exportRender:true/false on the column, but none worked.

Can you please help me export this while retaining the HTML - or if this is not possible, is there a way to strip the HTML tags before export?

Thank you

4
Help for ParamQuery Pro / Virtual Scrolling - Grouping
« on: November 18, 2021, 07:48:32 pm »
One item that came up in testing is grouping.  I know grouping is going to be problematic because it's only happening client side, but do you have any thoughts on how I can alleviate the problem where we end up with blank entries?  Should groupModel exclude rows where pq_empty is true?


5
Help for ParamQuery Pro / Virtual Scrolling - Throttling
« on: November 18, 2021, 01:00:52 am »
Hi, I'm not sure how to phrase this question well, so please bear with me. 

I've been using a remote setup for my data along with paging and it works well, but I'd like to get users away from paging and using virtual/infinite scrolling instead.  I have the examples in place and it works, but what I'm finding is that when users move the scrollbar up and down really fast, it kicks off multiple remote requests.  I see in Chrome's console when those requests are cancelled, but they still hit our server and tie up resources. 

I started looking to see if I could use the beforeSend event to throttle requests so that we're not making more than xx requests in a given time period.

Is that something you can help me figure out - so that when users are rapidly scrolling up or down, we're making 1 request at a time to the server?

Thank you

6
Suggest new features / Format Item Count in Grid
« on: August 14, 2020, 11:41:31 pm »
Hi, is there a way we can format the number for total items so that it has commas in it?

e.g. In the attached, it shows:

369733 items, but I'd like to see it as 369,733 items.

Is this possible via a configuration?

7
Suggest new features / Fetch API instead of XHR
« on: July 27, 2020, 03:41:53 am »
Hi, wondering if you would consider using fetch for remote API calls since I've read a few places that it does seem to be faster for handling JSON data.  e.g. https://gomakethings.com/the-fetch-api-performance-vs.-xhr-in-vanilla-js/

8
Bug Report / Context Menu on iOS
« on: March 18, 2020, 06:34:22 pm »
The content menu demo does not work on iOS devices.  Is there a fix planned for this?  https://paramquery.com/pro/demos/context_menu

9
Help for ParamQuery Pro / Bootstrap Split Button + Checkbox Column
« on: March 06, 2020, 11:10:07 pm »
Hi, I'd like to have a split button control on my checkbox column so I can have different actions for a row - e.g. Modify, Delete in addition to View.

Please see this fiddle - https://jsfiddle.net/webauthor/moj0yfsh/4/ - can you help me implement something like this?  Also, I'd like it that when the button is clicked, it does not fire the rowselect event.  I don't want the row to be selected when I click on a button because it's performing a different action - for that specific row.

Thanks

10
Wondering if this would be possible.  I would like to have the grid in editing mode so individual cells can be selected for editing, but also if you clicked on the row numbers on the left of the grid, it would activate row selections so you can do ranges, etc.

Is this something that can be made possible?

11
Hi, please see this example.  I'm having trouble where the date picker is not populating the input field.

https://martin-dev.samis.io/go/view/pq-grid-test.cfm

12
Help for ParamQuery Pro / Pivot and remote data
« on: January 17, 2018, 10:48:40 pm »
I have a grid with remote data and I want to take advantage of the new Pivot function.  My dataset is large though - 250,000 records and I have paging.  Is there a way I run the grouping remotely so I'm only bringing back the summary data?

If not, would I have to turn off remote paging to load all the first to get an accurate pivot?

13
Hi, when setting an initial sort e.g.

sortModel: {"cancel":false,"sorter":[{"dataIndx":"Activity_ToDate","dir":"down"}],"type":"remote","on":true}

The sorting indicator is not visible

e.g.
https://martin-dev.samis.io/go/view/pq-grid-test.cfm

If I change type="local" it shows the triangle, but of course the sorting is not working because it needs to be remote.

Can you please take a look?

Thanks

14
Hi, I use an external filter on my grid and when I search and results come back, everything works great, but if I get back an empty array, the pager does not update.  See

With results:
https://www.dropbox.com/s/wntt1ytluypngak/Screenshot%202016-08-11%2002.31.32.PNG?dl=0

With 0 results:
https://www.dropbox.com/s/pp3127h96n0rcp7/Screenshot%202016-08-11%2002.33.04.PNG?dl=0

I'm using the latest version (3.3.2).  Any insight?

15
Help for ParamQuery Pro / Version 3.3.0
« on: March 20, 2016, 07:31:08 am »
Hi, I'm getting the following error when I switch to version 3.3.0.

pqgrid.min.js:297 Uncaught TypeError: b.cGroupView is not a constructor

The same code works on version 3.2.0

Any ideas what could be causing this?ß

Pages: [1] 2