EasyUI Forum
January 25, 2021, 11:06:46 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: Can't trace error: Cannot read property of 'panel' of undefined  (Read 122 times)
andyj
Jr. Member
**
Posts: 52



View Profile
« on: January 12, 2021, 04:11:29 AM »

Can anyone help me to trace an error?

My page has a datagrid with a nested subgrid.

ERROR:
"Uncaught TypeError: Cannot read property of 'panel' of undefined"

This points to the following line in jquery.easyui.min.js:
return $.data(jq[0],"datagrid").panel.children("div.datagrid-pager");
AND
$(this).datagrid("getPager").pagination("loaded");

My datagrid has pagination, which works correctly.
My nested subgrid has pagination, which works correctly.

Any ideas what might be the problem?

Many thanks  Huh
Logged
jarry
Administrator
Hero Member
*****
Posts: 1933


View Profile Email
« Reply #1 on: January 13, 2021, 06:56:09 PM »

How do you call this code? Please show some code snippets to demonstrate this issue.
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!