BUG 15193 Error in PM Table Data Search option IMPROVEMENT
This commit is contained in:
@@ -84,7 +84,7 @@ Ext.onReady(function(){
|
|||||||
contextMenu = new Ext.menu.Menu({
|
contextMenu = new Ext.menu.Menu({
|
||||||
items : [ editButton, deleteButton ]
|
items : [ editButton, deleteButton ]
|
||||||
});
|
});
|
||||||
|
|
||||||
searchText = new Ext.form.TextField ({
|
searchText = new Ext.form.TextField ({
|
||||||
id: 'searchTxt',
|
id: 'searchTxt',
|
||||||
ctCls:'pm_search_text_field',
|
ctCls:'pm_search_text_field',
|
||||||
@@ -398,7 +398,7 @@ Ext.onReady(function(){
|
|||||||
];
|
];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
tbar = [genDataReportButton,
|
tbar = [genDataReportButton,
|
||||||
'->',
|
'->',
|
||||||
appUidSearch,
|
appUidSearch,
|
||||||
searchText,
|
searchText,
|
||||||
@@ -473,7 +473,8 @@ onMessageContextMenu = function (grid, rowIndex, e) {
|
|||||||
//Do Search Function
|
//Do Search Function
|
||||||
DoSearch = function(){
|
DoSearch = function(){
|
||||||
infoGrid.store.setBaseParam('textFilter', searchText.getValue());
|
infoGrid.store.setBaseParam('textFilter', searchText.getValue());
|
||||||
infoGrid.store.load({params: {start : 0 , limit : pageSize , appUid : appUidSearch.getValue() }});
|
infoGrid.store.setBaseParam('appUid', appUidSearch.getValue() );
|
||||||
|
infoGrid.store.load()
|
||||||
};
|
};
|
||||||
|
|
||||||
//Load Grid By Default
|
//Load Grid By Default
|
||||||
@@ -482,7 +483,7 @@ GridByDefault = function(){
|
|||||||
appUidSearch.reset();
|
appUidSearch.reset();
|
||||||
infoGrid.store.setBaseParam('textFilter', searchText.getValue());
|
infoGrid.store.setBaseParam('textFilter', searchText.getValue());
|
||||||
infoGrid.store.load();
|
infoGrid.store.load();
|
||||||
};
|
};
|
||||||
|
|
||||||
//Capitalize String Function
|
//Capitalize String Function
|
||||||
capitalize = function(s){
|
capitalize = function(s){
|
||||||
|
|||||||
Reference in New Issue
Block a user