I am in a report page in APEX. I went to the report attributes page and inside that are columns which each have their own column attributes. I needed to know how to use the value of one column while I am in a separate column's attribute page. With the picture attached, I try to do above using #COLUMNNAME# to get the value, but the correct value is not being used. You use hashtags to reference column values in the column formatting section.
Javascript/Dynamic Action:
$('.dis_flag:contains(disabled="true")').parents('td[headers="DIS"]').siblings('td[headers="PHONE"]').children('input:text').attr('disabled', true);
where:
DIS - alias of my column, indicating disable editing or no (if disable it contains value disabled="true" . But it can have any another value). dis_flag - class name, i added for this column in "Column Formatting" -> "CSS Class". I added this class to refer this value more easy. PHONE - alias of column, that must be disabled.
You can add this javascript code to the
"Page Attributes" -> "JavaScript" -> "Execute when Page Loads".
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.