EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: andyj on January 12, 2021, 04:11:29 AM



Title: Can't trace error: Cannot read property of 'panel' of undefined
Post by: andyj 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  ???


Title: Re: Can't trace error: Cannot read property of 'panel' of undefined
Post by: jarry on January 13, 2021, 06:56:09 PM
How do you call this code? Please show some code snippets to demonstrate this issue.