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!

APEX 5.1.1 IG - how to set value of a hidden column

Marko GorickiApr 12 2017 — edited Oct 13 2017

Hi,

can anybody give me a clue how to set value of a hidden column in Interactive Grid.

I have a sample here.

There's a button "Set salary to 1000 of selected emp" on this page that executes the following JS code:

var g = apex.region('rgnEmp').widget().interactiveGrid('getViews','grid');

var r = g.getSelectedRecords()[0];

g.model.setValue(r, 'SAL', 1000);

https://apex.oracle.com/pls/apex/f?p=103570:4:Column SAL is defined as hidden and not protected.

The error that I see in console is:

Uncaught Error: Set value not allowed for field.

Tested on apex.oracle.com (version5.1.1.00.08).

Thanks in advance!

Br,

Marko

Comments

Try setting REPORTS_ENHANCED_BIDIHANDLING=YES to use the new BIDI mechanism.
Thanks, Suresh

User_AWHMX

Dear Mr. Suresh,
thanks for your reply. do i need to keep the above 2 parameters also or above as you mentioned that is enough?
REPORTS_ENHANCED_BIDIHANDLING=YES

User_AWHMX, Include all 3 parameters

User_AWHMX

Mr. Suresh,
After i did also its changing for all the fields as per attachment. actually i just want to change the price field only in arabic numbers and others should be normal only. But if i add all 3 its changing whole invoice.
image.png

Has the report been built in that way to show ONLY Price field in Arabic and others are in English Numerical?
Is the value database derived or static/computed in Reports?
What is the NLS_LANG used during Build/recompile and runtime?
Checking if PDF subsetting is already enabled.
https://docs.oracle.com/cd/E48391_01/doc.11120/e24479/pbr_pdf004.htm#RSPUB23427
Thanks, Suresh

User_AWHMX

Dear Mr. Suresh,
Has the report been built in that way to show ONLY Price field in Arabic and others are in English Numerical?
No thats what i want to know that how can i do that.
Is the value database derived or static/computed in Reports?
these values from the database only.
What is the NLS_LANG used during Build/recompile and runtime?
AMERICAN_AMERICA.AR8MSWIN1256
Checking if PDF subsetting is already enabled. Yes its enabled.

When you say database columns, are the values stored as multibyte/Arabic in the database?
What are the font mappings for PDF subsetting?
Thanks, Suresh

User_AWHMX

no its not stored in arabic. its numeric numbers only.
i think if we add new arabic font its working in test environment. i will test in produstion also.
helvetica..Oblique.Medium = "Sadvocra.ttf"
helvetica..Plain.Medium = "Sadc128d.ttf"
helvetica...Bold = "CarolinaBar-B39-25F2-Normal.ttf"

1 - 8
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 10 2017
Added on Apr 12 2017
11 comments
21,268 views