bruno-pere Posted April 17, 2013 Share Posted April 17, 2013 Hi! 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);*/ alert('alert');} And this code does work? Without Comments OnValidateEdit=function OnValidateEdit(e){ alert('alert');} DO NOT PAY ATTENTION WHAT'S INSIDE COMMENT block because I'm adding it dynamically. Thank you! Bruno Quote Link to comment Share on other sites More sharing options...
bruno-pere Posted April 18, 2013 Author Share Posted April 18, 2013 OCCURS ONLY DYNAMICALLY. SOLVED. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.