BUG-12254 Funcionalidad Search en las grillas DATA de los PMTables y Report Tables.
Se aniadio la nueva funcionalidad de busqueda en el display de los datos de los PMTables y Report Tables, en ADMIN > Settings > PM Tables > Data, el cual realiza las busquedas por todas las columnas del PM Table o Report Table. Se corrigio el ordenamiento ASC y DESC.
This commit is contained in:
@@ -102,7 +102,7 @@ Ext.onReady(function(){
|
||||
clearTextButton = new Ext.Action({
|
||||
text: 'X',
|
||||
ctCls:'pm_search_x_button',
|
||||
handler: GridByDefault
|
||||
handler: GridByDefault
|
||||
});
|
||||
|
||||
//This loop loads columns and fields to store and column model
|
||||
@@ -463,14 +463,15 @@ onMessageContextMenu = function (grid, rowIndex, e) {
|
||||
/////JS FUNCTIONS
|
||||
|
||||
//Do Search Function
|
||||
|
||||
DoSearch = function(){
|
||||
infoGrid.store.load({params: {textFilter: searchText.getValue()}});
|
||||
infoGrid.store.setBaseParam('textFilter', searchText.getValue());
|
||||
infoGrid.store.load({params: {start : 0 , limit : pageSize }});
|
||||
};
|
||||
|
||||
//Load Grid By Default
|
||||
GridByDefault = function(){
|
||||
searchText.reset();
|
||||
infoGrid.store.setBaseParam('textFilter', searchText.getValue());
|
||||
infoGrid.store.load();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user