ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: erlind.dhami on July 15, 2021, 06:02:10 pm

Title: Issues adding multiple rows
Post by: erlind.dhami on July 15, 2021, 06:02:10 pm
Hi there,

I am trying to add multiple rows to a given grid following an event but I am seeing an error in the console log.
Here is an example of what I am trying to do https://jsfiddle.net/janfriElicat/bm2dyoLz/7/

I am seeing different errors rather I run it on jsfiddle or locally.

Attached to this post please find the error I see locally.
On jsfiddle I see a generic “script error”


I have tried it with version 8.0.1 and I get the same error.
Clearly I am doing something wrong.

Can you please help?

Thanks in advance
Title: Re: Issues adding multiple rows
Post by: paramvir on July 15, 2021, 09:21:59 pm
erlind.dhami

I've commented the js code with issues.

Corrected jsfiddle.

https://jsfiddle.net/f76y0vLw/1
Title: Re: Issues adding multiple rows
Post by: erlind.dhami on July 16, 2021, 02:49:20 pm
hello there paramvir,

thanks for the quick reply.

I tried to add the rows to the 2nd grid but I am seeing an error: https://jsfiddle.net/b3dcyte8/1/
then I tried another approach and it works: https://jsfiddle.net/dzoerp73/5/

I would like to add the rows on both grids calling a single function. Can you please help me achieve it?

Thanks in advance
Title: Re: Issues adding multiple rows
Post by: paramvir on July 18, 2021, 09:47:44 pm
Hope this helps:

https://jsfiddle.net/dcuehrqz/