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 select & unselect all check boxes in Apex report column

SACH!N-OracleFeb 26 2018 — edited Feb 27 2018

Hi,

In my apex report I have created a checkbox column, as:

apex_item.checkbox(1,PREFLIGHT_ID,'UNCHECKED') checkbox

Later, in the column heading part, i gave:

<input type="checkbox" id="selectunselectall">

Then i created a dynamic action, as below:

When

Event: Change

Selection Type: jQuery Selector

jQuery Selector: #selectunselectall

Action: Execute JavaScript Code

Code:

if ( $( '#selectunselectall' ).is(':checked') )

{  $('input[type=checkbox][name=f01]').attr('checked',true); }

else {  $('input[type=checkbox][name=f01]').attr('checked',false); }

Event Scope: Static

The above dynamic action has worked in another apex application. (created by my former colleague).

Hence I copied over the same solution in my apex page.

I had gone through many forum posts related to this topic. But nothing helped me to fix this.

I'm very weak in java scripting and unable to identify what went wrong.

Please help/support.

Please let me know if more information is needed.

Thanks,

Sachin

This post has been answered by jariola on Feb 27 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 27 2018
Added on Feb 26 2018
7 comments
5,538 views