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

@@ -804,3 +804,13 @@ antes funcionaba.
background-image:url( /images/icons_silk/sprites.png) !important;
background-position:0 -8929px !important;
}
.x-grid-empty{
text-align: center;
position: absolute;
top: 40%;
left: 40%;
font-size: 15px;
color:black filter:progid:DXImageTransform.Microsoft.Alpha(opacity=80);
opacity: .55;
-moz-opacity: .55;
}

View File

@@ -1195,7 +1195,9 @@ Ext.onReady ( function() {
//autoHeight: true,
layout: 'fit',
viewConfig: {
forceFit:true
forceFit:true,
cls:"x-grid-empty",
emptyText: (TRANSLATIONS.ID_NO_RECORDS_FOUND)
},
listeners: {
rowdblclick: openCase,

File diff suppressed because it is too large Load Diff

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,