bruno-pere Posted April 17, 2013 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
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.