Jump to content

ExtEvents of UniDBGrid and Comments


Recommended Posts



Can anyone tell me why this code does not work?


With Comments


OnValidateEdit=function OnValidateEdit(e)
  /*var val;
  var me = %s;
  pos  = me.getSelectionModel().getCurrentPosition();
  record = me.store.getAt(pos.row);
  colname = me.columns[pos.column].dataIndex;
  val = record.get(colname);*/



And this code does work?


Without Comments


OnValidateEdit=function OnValidateEdit(e)



DO NOT PAY ATTENTION WHAT'S INSIDE COMMENT block because I'm adding it dynamically.


Thank you!



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...