EasyUI Forum
September 13, 2025, 06:40:18 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: The addRow in edatagrid extension does not work when there is no data  (Read 6480 times)
Alfred
Full Member
***
Posts: 134


-Licensed User-


View Profile
« on: April 05, 2017, 07:14:43 AM »

Why is the addRow method does not work when there is no data? It generates the following errors in the console. When there is data, it works fine? Could this be a bug?

Code:
TypeError: rows is undefined[Learn More]  jquery.easyui.min.js:11119:13
TypeError: data.rows is undefined[Learn More] jquery.easyui.min.js:11234:1
TypeError: col is null[Learn More]
Logged
Pierre
Sr. Member
****
Posts: 439


View Profile Email
« Reply #1 on: April 05, 2017, 12:06:53 PM »

What is your code?
Can you create some example here?
Logged
Alfred
Full Member
***
Posts: 134


-Licensed User-


View Profile
« Reply #2 on: April 14, 2017, 09:04:46 PM »

I found that the problem is not in easyui. It's the response that comes from the online JSONP. Thank you.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!