BUG 0000 adding the default message when "no record found" on the main grids
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -197,7 +197,11 @@ Ext.onReady(function(){
|
||||
enableHdMenu : true,
|
||||
frame : false,
|
||||
columnLines : false,
|
||||
viewConfig : {forceFit:true},
|
||||
viewConfig: {
|
||||
forceFit:true,
|
||||
cls:"x-grid-empty",
|
||||
emptyText: (TRANSLATIONS.ID_NO_RECORDS_FOUND)
|
||||
},
|
||||
tbar: [cancelEditMembersButton,{xtype: 'tbfill'},'-',searchTextA,clearTextButtonA],
|
||||
//bbar: [{xtype: 'tbfill'}, assignAllButton],
|
||||
listeners: {rowdblclick: AssignUsersAction},
|
||||
@@ -229,8 +233,7 @@ Ext.onReady(function(){
|
||||
//bbar: [{xtype: 'tbfill'},removeAllButton],
|
||||
listeners: {rowdblclick: function(){
|
||||
(availableGrid.hidden)? DoNothing() : RemoveUsersAction();
|
||||
}
|
||||
}
|
||||
}}
|
||||
});
|
||||
|
||||
buttonsPanel = new Ext.Panel({
|
||||
|
||||
@@ -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: {
|
||||
@@ -192,9 +194,7 @@ Ext.onReady(function(){
|
||||
{header: TRANSLATIONS.ID_PRO_DEBUG, dataIndex: 'PRO_DEBUG_LABEL', width: 50, align:'center'}
|
||||
]
|
||||
}),
|
||||
|
||||
store: store,
|
||||
|
||||
tbar:[
|
||||
{
|
||||
text:TRANSLATIONS.ID_NEW,
|
||||
|
||||
Reference in New Issue
Block a user