1. add a formatter function to each cell of datagrid's layout
it will show a label like item.a + item.b after edit
formatter: function(item){
returnitem.a+ item.b;
}
2. Sometimes you want to show a label based on two properties of an row data,you can add get function to each cell
get: function(rowIndex,item){
return item.a+ " " + item.b;
},