Title: tabs with datagrid bug in 1.3.1 Post by: poshere 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 Title: Re: tabs with datagrid bug in 1.3.1 Post by: poshere on January 15, 2013, 02:47:02 AM hi, any info for this problem?
Title: Re: tabs with datagrid bug in 1.3.1 Post by: stworthy on January 15, 2013, 04:02:32 AM Please refer to this example http://jsfiddle.net/YaQyU/. It works fine, no errors found.
Title: Re: tabs with datagrid bug in 1.3.1 Post by: poshere on January 16, 2013, 01:52:46 AM thanks, that works in 1.3.2:)
Title: Re: tabs with datagrid bug in 1.3.1 Post by: kmfxq on July 29, 2017, 09:10:21 PM bugs same as 1.5.2
|