EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: jaimi on October 30, 2014, 04:12:29 AM



Title: destry message at edatagrid
Post by: jaimi on October 30, 2014, 04:12:29 AM
the destroy message does not work as expected.

I tried this:

...
pagePosition: 'bottom',
  destroyMsg  : {
   norecord:{title:'Hinweis',msg:'Es wurde kein Satz ausgewählt.'},
   confirm :{title:'Bestätigung',msg:'Klicken Sie Ok, um den Satz zu löschen.'}
  },//destroyMsg
  onError: function(index,row){alert(row.msg);}
 });//edatagrid

It works for the confirmation but not for the "norecord" case

any hints are appriciated
Jaimi


Title: Re: destry message at edatagrid
Post by: jarry on October 30, 2014, 07:35:51 AM
If no row is selected, the 'norecord' message will display when you call 'destroyRow' method.


Title: Re: destry message at edatagrid
Post by: jaimi on October 31, 2014, 06:23:49 AM
I know, but it is not.
So, where ist the error?