EasyUI Forum
September 13, 2025, 08:29:21 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: destry message at edatagrid  (Read 7635 times)
jaimi
Full Member
***
Posts: 121


View Profile
« 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
Logged
jarry
Administrator
Hero Member
*****
Posts: 2298


View Profile Email
« Reply #1 on: October 30, 2014, 07:35:51 AM »

If no row is selected, the 'norecord' message will display when you call 'destroyRow' method.
Logged
jaimi
Full Member
***
Posts: 121


View Profile
« Reply #2 on: October 31, 2014, 06:23:49 AM »

I know, but it is not.
So, where ist the error?
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!