jaimi
|
 |
« on: October 30, 2014, 04:29:16 AM » |
|
Hi, the reload won't work.
I have the following code:
var TablePager = $('#edgGLL').datagrid().datagrid('getPager'); TablePager.pagination({ showPageList: false ,showRefresh : false ,displayMsg : '{from} bis {to} von {total} Datensätzen' ,buttons :[ {iconCls:'icon-add' ,handler:function(){addRecord();}} ,{iconCls:'icon-edit' ,handler:function(){editRecord();}} ,{iconCls:'icon-remove',handler:function(){removeRecord();}} ,{iconCls:'icon-save' ,handler:function(){saveRecord();}} ,{iconCls:'icon-undo' ,handler:function(){undoRecord();}} ,{iconCls:'icon-reload',handler:function(){reloadTable();}} ] });//TablePager
It works for all functions but the reload: function reloadTable(){ $('#edgGLL').datagrid('reload'); }//reloadTable
what's wrong?
thanks Jaimi
|