Title: After apply method updateRow, Target row will lose plus icon Post by: TayYeh on October 15, 2012, 04:14:16 AM if datagrid is detailview.
After apply method updateRow,Target row will lose plus icon <script type="text/javascript" src="../../jquery-plugin/jquery-ui-1.8.23.custom/js/jquery-1.8.0.min.js"></script> <script type="text/javascript" src="../../jquery-plugin/jquery-ui-1.8.23.custom/js/jquery-ui-1.8.23.custom.min.js"></script> <script type="text/javascript" src="../../jquery-plugin/jquery-easyui-1.3.1/jquery.easyui.min.js"></script> <script type="text/javascript" src="../../jquery-plugin/jquery-easyui-1.3.1/locale/easyui-lang-zh_TW.js"></script> <script type="text/javascript" src="../../js/datagrid-detailview.js"></script> $('#tt').datagrid({ title: 'Techer List', fitColumns: false, striped: true, nowrap: false, autoRowHeight: true, view: detailview, height: 'auto', ...}); ... ... $('#tt).datagrid('loadData', { total: datas.length, rows: datas }); ... ... $('#tt').datagrid('updateRow',{ index: 2, row: { name: 'new name', note: 'new note message' } }); Target row(index = 2) will lose plus icon, it will can't show detail Title: Re: After apply method updateRow, Target row will lose plus icon Post by: stworthy on October 15, 2012, 06:17:15 AM Please download the updated detailview from http://www.jeasyui.com/extension/downloads/jquery-easyui-datagridview.zip.
|