EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
April 27, 2024, 06:56:15 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
Bug Report
>
Reminded of the patch
Pages: [
1
]
« previous
next »
Print
Author
Topic: Reminded of the patch (Read 7141 times)
zhcnlei
Newbie
Posts: 14
Reminded of the patch
«
on:
March 04, 2015, 12:37:07 AM »
1.4.1.patch - 02/28/2015
While loading two datagrid, the second can not read data.
demo:
$(function(){
$("#t1").datagrid({...});
$("#t2").datagrid({...});
});
<table id="t1" />
<table id="t2" />
This patch will cause this problem, prior to the patch is normal.
«
Last Edit: March 04, 2015, 12:38:45 AM by zhcnlei
»
Logged
jarry
Administrator
Hero Member
Posts: 2262
Re: Reminded of the patch
«
Reply #1 on:
March 04, 2015, 01:34:07 AM »
How do you read data, please describe your issue in more detail.
Logged
zhcnlei
Newbie
Posts: 14
Re: Reminded of the patch
«
Reply #2 on:
March 04, 2015, 10:31:37 PM »
I'm sorry, I made a mistake.
The new patch does not support object,it appears in my second datagrid.
demo:
formatter: function(value,row,index){
if (row.user){
return row.user.name; //In the new patch, the user is a string.
}
}
error:Uncaught TypeError: Cannot read property 'name' of undefined.
Perhaps this is not a bug.
Turned out to be more than a formatter.
«
Last Edit: March 09, 2015, 01:46:02 AM by zhcnlei
»
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...