Skip to content

Commit

Permalink
Fix IE 11 + Announce Future Dev
Browse files Browse the repository at this point in the history
  • Loading branch information
kcotoi committed Jan 16, 2020
1 parent 39ee711 commit c5918f0
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 20 deletions.
Binary file modified .DS_Store
Binary file not shown.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ https://apex.oracle.com/pls/apex/f?p=23312

## Release History
1.0 Initial Version
1.1 Implemented fix for Internet Explorer 11.

## How to install
Download this repository and install the plug-in into your application by following those steps:
Expand Down Expand Up @@ -63,7 +64,10 @@ The plugin also has 3 component settings which allows the developer to change th
</p>

* Create a Click Dynamic Action.
* Bind the dynamic action to the Interactive Report for which you want to render checkboxes.
* Bind the dynamic action to the Interactive Report Region for which you want to render checkboxes.
<p align="center">
<img src="https://raw.githubusercontent.com/kcotoi/Interactive-Report-Checbox/master/Sources/IMG/BindDAToRegion.png" width="400px">
</p>
* Select IR Checkbox as the true action.
* NOTE: Don't disable attribute "Fire on Initialization", if you do the checkboxes will not be rendered on page load.
* Configure the plugin settings to fit your needs.
Expand All @@ -73,6 +77,8 @@ The plugin also has 3 component settings which allows the developer to change th

## Future developments
* Please let me know any of your wishes
* Find workaround for using synchronous ajax request for rendering checkboxes as this will be deprecated in the future.
* Implement option to use columns as display only checkbox. An option will be provided to specify source values to determine the state of the checkbox (checked/unchecked).

## License

Expand Down
Binary file modified Sources/.DS_Store
Binary file not shown.
Binary file modified Sources/IMG/.DS_Store
Binary file not shown.
Binary file added Sources/IMG/BindDAToRegion.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion Sources/JS/apex_ir_checkbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,8 @@ apex.kcUtils.irCheckbox.options = [];

allCells.each(function() {
var value = this.textContent;
if (!this.className.includes('aggregate')) {

if (this.className.indexOf('aggregate') < 0) {
$(this).empty().append(irCk.createCheckbox(value));
}
});
Expand Down
2 changes: 1 addition & 1 deletion Sources/JS/apex_ir_checkbox.min.js

Large diffs are not rendered by default.

17 changes: 1 addition & 16 deletions Sources/JS/apex_kc_utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,22 +129,7 @@ apex.kcUtils = {};
}
return pObj.length > 0;
}

// Example to call var profiledMax = timeFunction(Math.max, 'Math.max');
//profiledMax.call(Math, 1, 2);
//Expected log => "Math.max took 2 ms to execute"
self.timeFunction = function(func, funcName) {
return function() {
var start = new Date(),
returnVal = func.apply(this, arguments),
end = new Date(),
duration = stop.getTime() - start.getTime();

console.log(`${funcName} took ${duration} ms to execute`);
return returnVal;
};
}


self.customStringify = function(v) {
const cache = new Set();
return JSON.stringify(v, function(key, value) {
Expand Down
2 changes: 1 addition & 1 deletion Sources/JS/apex_kc_utils.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c5918f0

Please sign in to comment.