| Summary: | Manually set cell text does not become disabled | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Remo Arpagaus <remo.arpagaus> | ||||
| Component: | Scout | Assignee: | Project Inbox <scout.core-inbox> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | minor | ||||||
| Priority: | P3 | CC: | zimmermann | ||||
| Version: | 3.7.0 | Flags: | zimmermann:
indigo+
zimmermann: juno+ |
||||
| Target Milestone: | 3.7.1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 202971 [details]
Patch to fix the bug
solved for trunk and indigo sp1 shipped with 3.7.1 removed iplog flag from ticket and added iplog flag to attachment |
Build Identifier: If text of table cell is set manually in execDecorateCell, disabling the table does not change the font color of these texts. A Workaround exists to do that manually in project: 1. in execDecorateCell add the following line of code: cell.setForegroundColor(getForm().isEnabledGranted() ? null : BsiCrmHtmlConstants.RAYO_COLOR_DISABLED_TABLE_TEXT); 2. in execLoad of the form (when form is made disabled due to lack of permission), iterate through the rows and trigger their decoration: for (ITableRow row : rows) { table.getDisplayTextColumn().decorateCell(row); } Reproducible: Always