Reputation: 149
I want to set values in an oracle interactive grid to every checked row.
But my loop via setValue
sets also values in cells, that are hidden/that are not in current view.
Is it possible to check via JS, whether a column is visible or not?
Upvotes: 2
Views: 2686
Reputation: 6909
Try this to check if a column is visible
var ig$ = apex.region("myGridStaticID").widget(),
view = ig$.interactiveGrid("getCurrentView");
if(view.modelColumns["MyColumnName"].hidden) {
console.log("this column is hidden);
}
Upvotes: 1