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!

Apply CSS to interactive grid cell depending on a page item value

Fabrizio Delli PriscoliJun 4 2025 — edited Jun 4 2025

Hi all, I'm on APEX 22.2.6.

I have a page with 5 interactive grid and some page items. one of this page item represent version code.

Every interactive grid has only update action possible and cells that I can modify have read only property set as follow:

Type -→ Item ≠ Value

Item -→ P8_VERSION

Value -→ 1

In this way, my cell of my first interactive grid can be updated only when P8_VERSION item value is 1.

Now I want to modify backgroung color of this cell, applying a CSS; for example, use u-color-14 when it is not possible to update the cell (when P8_VERSION item value is different from 1) and restore the white background color when P8_VERSION item value is 1 and so the user can update the value.

How can I achieve this?

Thanks,

Fabrizio

Comments
Post Details
Added on Jun 4 2025
0 comments
123 views