Show Posts
|
Pages: [1]
|
6
|
General Category / Bug Report / 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
|
|
|
|