EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 25, 2024, 05:13:09 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
>
tabs with datagrid bug in 1.3.1
Pages: [
1
]
« previous
next »
Print
Author
Topic: tabs with datagrid bug in 1.3.1 (Read 16007 times)
poshere
Newbie
Posts: 6
tabs with datagrid bug in 1.3.1
«
on:
January 10, 2013, 01:20:37 AM »
hi, when I dynamic generate datagrid in tabs, it will promp an error:
------------------------------------------------------------------
Uncaught TypeError: Cannot read property 'options' of undefined
$.fn.datagrid.methods.optionsjquery.easyui.min.js:7686
$.fn.datagridjquery.easyui.min.js:7553
$.fn.datagrid.defaults.$.extend.loaderjquery.easyui.min.js:8087
_53bjquery.easyui.min.js:7499
opts
------------------------------------------------------------------
the code is below:
------------------------------------------------------------------
<script type='text/javascript'>
$(document).ready(function(){
var str = "<table class='easyui-datagrid' title='Basic DataGrid' style='width:700px;height:250px'></table>";
$('#easytabs').tabs("add",{
title: 'title',
content: str
});
});
</script>
<html>
<body>
<div id="easytabs" class="easyui-tabs" style="width:700px;height:250px">
</div>
------------------------------------------------------------------
in the version before 1.3.1 works well
hope to be fiexed
Logged
poshere
Newbie
Posts: 6
Re: tabs with datagrid bug in 1.3.1
«
Reply #1 on:
January 15, 2013, 02:47:02 AM »
hi, any info for this problem?
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: tabs with datagrid bug in 1.3.1
«
Reply #2 on:
January 15, 2013, 04:02:32 AM »
Please refer to this example
http://jsfiddle.net/YaQyU/
. It works fine, no errors found.
Logged
poshere
Newbie
Posts: 6
Re: tabs with datagrid bug in 1.3.1
«
Reply #3 on:
January 16, 2013, 01:52:46 AM »
thanks, that works in 1.3.2:)
Logged
kmfxq
Newbie
Posts: 1
Re: tabs with datagrid bug in 1.3.1
«
Reply #4 on:
July 29, 2017, 09:10:21 PM »
bugs same as 1.5.2
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...