Posts

Showing posts from October, 2020

IR Refresh Instead of Page Refresh when Model Dialog Close / Restore screen position after refresh

 A) IR Refresh Instead of Page Refresh when Model Dialog Close  https://apex.oracle.com/pls/apex/f?p=90922:18 1) Save function as refreshCurrent.js  function refreshCurrent(pRegionId){   var lReportId = "#"+pRegionId+"_ir";   /** @purpose retrieve the current min row of an IR by parsing the pagination label of an "X - Y" or X - Y of Z" scheme.     *@param IR id     */   function getCurrentPagination (pReportId) {     var currentText = apex.jQuery(".a-IRR-pagination-label", pReportId).text()       , currentMinRow = currentText.substring(0, currentText.indexOf("-")).trim();     return currentMinRow;   };      /** @purpose paginates the IR with the indicated settings      * @param pRegionId IR id     * @param pMinRow row to start the pagination at     * @param pMaxRows irrelevant. This is not parsed anywhere.      * @param pRowsFetched...