PDA

View Full Version : set error message of textfield



boston-george
2 Aug 2011, 2:10 AM
Hi guy!

i'm usig roweditor plugin to update an editor grid panel.



......
afteredit: function(roweditor, changes, record, rowIndex) {
var EN1 = record.get('F02ORAIN1');
var US1 = record.get('F02ORAOU1');

//HERE I NEED TO SET ERROR MESSAGE IF US1>EN1
}
......


how can i set an error message when i get US1>EN1 ?
thanks