After spending days on this finally this has worked for me
I have made the changes by follwing this link https://www.spagoworld.org/jforum/posts/list/4272.page with some additional changes.
in below files:
1.SpagoBICockpitEngine/WebContent/js/src/ext4/sbi/cockpit/MainPanel.js
on first row function onShowFilterEditorWizard
*
config.stores = Sbi.storeManager.getStoreIds();
Sbi.trace("[MainPanel.onShowAssociationEditorWizard]: config.stores is equal to [" + Sbi.toSource(config.stores) + "]");
and uncomment the same lines in onShowFontEditorWizard method.
2.SpagoBICockpitEngine/js/src/ext4/sbi/widgets/grid/InMemoryPagingGridPanel.js
Row 96 in function loadStore, comment line as this:
//this.store.loadPage(1);
- i have used javascript to add string parameter.
Query:select country,cnt from country_duns PLACEHOLDER_COUNTRY
and in edit scrpit
country = parameters.get('par_country');
if (country == null) {
placeholder = " ";
}
else {
placeholder = "where country = '" + country + "'";
}
query = query.replace("PLACEHOLDER_COUNTRY", placeholder);
parameter is par_country of string type