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