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-image:url( /images/icons_silk/sprites.png) !important;
|
||||||
background-position:0 -8929px !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,
|
//autoHeight: true,
|
||||||
layout: 'fit',
|
layout: 'fit',
|
||||||
viewConfig: {
|
viewConfig: {
|
||||||
forceFit:true
|
forceFit:true,
|
||||||
|
cls:"x-grid-empty",
|
||||||
|
emptyText: (TRANSLATIONS.ID_NO_RECORDS_FOUND)
|
||||||
},
|
},
|
||||||
listeners: {
|
listeners: {
|
||||||
rowdblclick: openCase,
|
rowdblclick: openCase,
|
||||||
|
|||||||
@@ -197,7 +197,11 @@ Ext.onReady(function(){
|
|||||||
enableHdMenu : true,
|
enableHdMenu : true,
|
||||||
frame : false,
|
frame : false,
|
||||||
columnLines : 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],
|
tbar: [cancelEditMembersButton,{xtype: 'tbfill'},'-',searchTextA,clearTextButtonA],
|
||||||
//bbar: [{xtype: 'tbfill'}, assignAllButton],
|
//bbar: [{xtype: 'tbfill'}, assignAllButton],
|
||||||
listeners: {rowdblclick: AssignUsersAction},
|
listeners: {rowdblclick: AssignUsersAction},
|
||||||
@@ -229,8 +233,7 @@ Ext.onReady(function(){
|
|||||||
//bbar: [{xtype: 'tbfill'},removeAllButton],
|
//bbar: [{xtype: 'tbfill'},removeAllButton],
|
||||||
listeners: {rowdblclick: function(){
|
listeners: {rowdblclick: function(){
|
||||||
(availableGrid.hidden)? DoNothing() : RemoveUsersAction();
|
(availableGrid.hidden)? DoNothing() : RemoveUsersAction();
|
||||||
}
|
}}
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
buttonsPanel = new Ext.Panel({
|
buttonsPanel = new Ext.Panel({
|
||||||
|
|||||||
@@ -164,7 +164,9 @@ Ext.onReady(function(){
|
|||||||
groupTextTpl: '{text}'
|
groupTextTpl: '{text}'
|
||||||
}),*/
|
}),*/
|
||||||
viewConfig: {
|
viewConfig: {
|
||||||
forceFit:true
|
forceFit:true,
|
||||||
|
cls:"x-grid-empty",
|
||||||
|
emptyText: (TRANSLATIONS.ID_NO_RECORDS_FOUND)
|
||||||
},
|
},
|
||||||
cm: new Ext.grid.ColumnModel({
|
cm: new Ext.grid.ColumnModel({
|
||||||
defaults: {
|
defaults: {
|
||||||
@@ -192,9 +194,7 @@ Ext.onReady(function(){
|
|||||||
{header: TRANSLATIONS.ID_PRO_DEBUG, dataIndex: 'PRO_DEBUG_LABEL', width: 50, align:'center'}
|
{header: TRANSLATIONS.ID_PRO_DEBUG, dataIndex: 'PRO_DEBUG_LABEL', width: 50, align:'center'}
|
||||||
]
|
]
|
||||||
}),
|
}),
|
||||||
|
|
||||||
store: store,
|
store: store,
|
||||||
|
|
||||||
tbar:[
|
tbar:[
|
||||||
{
|
{
|
||||||
text:TRANSLATIONS.ID_NEW,
|
text:TRANSLATIONS.ID_NEW,
|
||||||
|
|||||||
Reference in New Issue
Block a user