BUG 0000 adding the default message when "no record found" on the main grids

This commit is contained in:
Erik Amaru Ortiz
2011-05-05 16:11:53 -04:00
parent daad1f78f8
commit 13296e5d68
4 changed files with 263 additions and 248 deletions

View File

@@ -164,7 +164,9 @@ Ext.onReady(function(){
groupTextTpl: '{text}'
}),*/
viewConfig: {
forceFit:true
forceFit:true,
cls:"x-grid-empty",
emptyText: (TRANSLATIONS.ID_NO_RECORDS_FOUND)
},
cm: new Ext.grid.ColumnModel({
defaults: {
@@ -191,10 +193,8 @@ Ext.onReady(function(){
{header: TRANSLATIONS.ID_TOTAL_CASES, dataIndex: 'CASES_COUNT', width: 80,renderer:function(v){return "<b>"+v+"</b>";}, align:'right'},
{header: TRANSLATIONS.ID_PRO_DEBUG, dataIndex: 'PRO_DEBUG_LABEL', width: 50, align:'center'}
]
}),
}),
store: store,
tbar:[
{
text:TRANSLATIONS.ID_NEW,