Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

IG: customize no. of rows per page: can i give user input to set rows per page?

SmithJohn45Jan 28 2022 — edited Jan 28 2022

Apex 21.2.0
during my search foud this topic where @john-snyders-oracle resolved a problem but it was specific requirement to replace 1000 to 250.
https://community.oracle.com/tech/developers/discussion/4140228/interactive-grid-change-rows-per-page
in IG we can set no. of rows per page using : Actions -> Format -> Rows Per Page which are pre-defined 5,10,15...
can i customize no. of rows per page which should be user input so, user can enter any value or any other mechanism like select list etc.? if yes, please help and guide for this.
in JavaScript Initialization Code alreay have this code: (may be the solution require to add code here in config).

function(config) {
let $ = apex.jQuery,
toolbarData = $.apex.interactiveGrid.copyDefaultToolbar(),
toolbarGroup = toolbarData.toolbarFind("actions3");
toolbarGroup.controls.push({
type: "STATIC",
label: "[ Schedule Master ]",
id: 'schedmasterID'
});
config.toolbarData = toolbarData;
return config;
}

regards
have Stacked Master-Detail page means there are 2 IG regions and this requirement is for both.

This post has been answered by Hamza Al-abbasi on Jan 28 2022
Jump to Answer
Comments
Post Details
Added on Jan 28 2022
3 comments
3,640 views