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!

How to change interactive grid search field placeholder

BorkanJan 26 2021 — edited Jan 26 2021

Hello guys, I want to change interactive grid search field placeholder, but it doesn't make sense. I tried this :
function(config) {
config.toolbarData = [
{
groupTogether: true,
controls: [
{
type: "TEXT",
id: "search_field",
placeholder: "Enter employee information",
enterAction: "search",
size: 50
},
{
type: "BUTTON",
action: "search",
label: "Search",
hot: true
}
]
}
];
return config;
}

But when I used DY on page load it has been changed :

var ig$ = apex.region("emp").widget();
ig$.interactiveGrid("getToolbar").toolbar("findElement", "search_field").attr("placeholder","Enter employee information");

Regards,
-Borkan

Comments
Post Details
Added on Jan 26 2021
0 comments
566 views