Author Topic: TypeError: r.data is not a function  (Read 812 times)

roland.kovari@acps-automo

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 11
    • View Profile
TypeError: r.data is not a function
« on: May 19, 2022, 06:07:09 pm »
Hi paramvir,

'cell combo' does not save data if a filter is active in the header. The error 'TypeError: r.data is not a function'. I am using version 8.3.How can I fix it?

Thanks!

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6126
    • View Profile
Re: TypeError: r.data is not a function
« Reply #1 on: May 20, 2022, 10:06:50 pm »
I'm unable to reproduce the error/ issue. Can you please share a jsfiddle.

roland.kovari@acps-automo

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: TypeError: r.data is not a function
« Reply #2 on: May 21, 2022, 03:08:56 pm »
Hi,

I sent an email.

Thank you ....

roland.kovari@acps-automo

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: TypeError: r.data is not a function
« Reply #3 on: May 25, 2022, 09:26:55 pm »
Hí paramvir,

Unfortunately, I can't make it jsfiddle. I sent you an email so you can look at it. Please check your email.

Thanks!

roland.kovari@acps-automo

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: TypeError: r.data is not a function
« Reply #4 on: May 27, 2022, 05:47:36 pm »
Hí paramvir,

Unfortunately, I can't make it jsfiddle. I sent you an email so you can look at it. Please check your email.

Thanks!

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6126
    • View Profile
Re: TypeError: r.data is not a function
« Reply #5 on: May 30, 2022, 12:24:42 pm »
When I access it, it throws error

Uncaught TypeError: Cannot read properties of undefined (reading 'ikon')
    at Object.<anonymous> (karbantartas_gomb_grid.js?1653652387:130:38)
    at c (jquery.min.js:2:28327)
    at Object.fireWith [as resolveWith] (jquery.min.js:2:29072)
    at l (jquery.min.js:2:79901)
    at XMLHttpRequest.<anonymous> (jquery.min.js:2:82355)


Also I would need a jsfiddle to debug the code and check the reason of issue.

roland.kovari@acps-automo

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: TypeError: r.data is not a function
« Reply #6 on: May 30, 2022, 03:20:24 pm »
Thanks, i can give you access to the code. I can't upload to jsfiddl. I'll email you access to the code again.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6126
    • View Profile
Re: TypeError: r.data is not a function
« Reply #7 on: May 31, 2022, 12:10:54 pm »
When I login, I don't see any code, rather I get the same error mentioned in my previous post.

It's important to share a live example along with code to troubleshoot the issue.

I'm not sure what issue are you facing with sharing a jsfiddle. You can use any code sharing tool with which you are comfortable.

Can you reproduce the issue in the online examples of ParamQuery Pro. If yes, then kindly share the steps.
« Last Edit: May 31, 2022, 12:22:08 pm by paramvir »

roland.kovari@acps-automo

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: TypeError: r.data is not a function
« Reply #8 on: May 31, 2022, 01:09:52 pm »
I checked, you will now see code. The image sent shows the error and how it was generated.

roland.kovari@acps-automo

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: TypeError: r.data is not a function
« Reply #9 on: June 02, 2022, 12:29:47 pm »
Can I wait for an answer without jsfiddle? You can now see the interface and the code with the login details provided in the email. I need your help. Thanks!

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6126
    • View Profile
Re: TypeError: r.data is not a function
« Reply #10 on: June 02, 2022, 06:13:30 pm »
I could see the issue on the web page shared by you.

r.data is in fact supposed to be a function

Please check your code. Have you assigned data directly to grid instance somewhere in your code?

roland.kovari@acps-automo

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: TypeError: r.data is not a function
« Reply #11 on: June 02, 2022, 11:42:37 pm »
Thanks, I try.