Interactive Grid - Getting rid of unnecessary row counts and scrollbars

Requirement

When you first create an IG, there are a lot of options to configure, but there isn't anything to get rid of the row counts and scrollbars.





Getting rid of the rowcounts

Under the attributes of your IG, put the following code for "JavaScript: Initialization Code"


function(config) {
 config.defaultGridViewOptions = { 
     footer: false 
     }; 
return config; 
}  

Result:


Acknowledgement: 

https://community.oracle.com/tech/developers/discussion/4288440/how-to-remove-paging-footer-from-interactive-grid

Note: There are quite a few posts talking about the fix, but only copy/pasting the solution from the above link worked for me.

Getting rid of the scrollbar

To do this, set a minumum column from within your applications.

In my case, I had already hidden the toolbar. So I undid it, made the changes I wanted, save the report as a public report, then hid the toolbar again.




Result:

Acknowledgement:
https://community.oracle.com/tech/developers/discussion/4005021/how-to-control-interactive-grid-columns-width





 

Comments