Home
Sign Up
Sign In
V2EX
›
问与答
datagrid 无法绑定 body 中的 table
professorz
·
May 13, 2015
· 2230 views
This topic created in 4194 days ago, the information mentioned may be changed or developed.
我想用jquery easyui datagrid 加载json数据到table中,但是发现datagrid没有在我定义的table中生成列而是自己生成了一个table,也没有在我定义的table中加载数据,也没有在它自己生成的table中加载数据。我的js代码在head中,我想可能是因为js代码执行的时候html还没加载完毕,就在script中加了个event= " onload",但是这样js直接不执行了(不生成表了)。请问这个是什么原因?要怎么解决?
datagrid
table
生成
1 replies
•
2015-05-13 15:55:40 +08:00
cxe2v
May 13, 2015
1
你换成在$(function(){})里面加载datagrid
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
2306 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 26ms ·
UTC 15:46
·
PVG 23:46
·
LAX 07:46
·
JFK 10:46
♥ Do have faith in what you're doing.
❯