Author Topic: Issues adding multiple rows  (Read 1178 times)

erlind.dhami

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 3
    • View Profile
Issues adding multiple rows
« 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

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Issues adding multiple rows
« Reply #1 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
« Last Edit: July 15, 2021, 09:37:54 pm by paramvir »

erlind.dhami

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Issues adding multiple rows
« Reply #2 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

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Issues adding multiple rows
« Reply #3 on: July 18, 2021, 09:47:44 pm »