RecordList list = this.grid.getRecordList();
if ( list != null && list.getLength() > 0 ) {
MessageGridRecord record = (MessageGridRecord) list.find( MessageListFields.ID.name(), String
.valueOf( message.getId() ) );
if ( record != null ) {
GWTMessageRecord source = message.getMessageRecord();
int index = this.grid.getRecordIndex( record );
if ( index > -1 ) {
record.setGWTMessageRecord( source );
this.grid.refreshRow( index );
}