In a List control, I am using List Properties > Client-side computation to conditionally change the font color and background color of a row, based on a value of a field in the row. It works great.
The problem I am having is that when a row is selected where the font and background have been changed by the Client-side computation, it appears that the List Item Selected Class is only applied to part of the selected row.
There are some specific settings here that I need to explain.
I am using MobBlueTreeNodeSelected in List Item Selected Class Name in the Layout of the List control.
I am using a freeform layout. Here is the html:
When no conditional settings have been applied, it looks like this:
Untitled1.png
When conditional setting have been applied, it looks like this:
Untitled2.png
MobBlueTreeNodeSelected appears to be applied to the first div, but not the second. It keeps the conditional font color is black, whereas MobBlueTreeNodeSelected sets the color to white.
I need it to apply everything in the row when the row is selected. I only need the conditional settings applied when the row is not selected.
Build 5581-5237
The problem I am having is that when a row is selected where the font and background have been changed by the Client-side computation, it appears that the List Item Selected Class is only applied to part of the selected row.
There are some specific settings here that I need to explain.
I am using MobBlueTreeNodeSelected in List Item Selected Class Name in the Layout of the List control.
I am using a freeform layout. Here is the html:
Code:
<div style="display: table; width: 100%;"> <div style="display: table-cell;"> <div class="[theme:listBox.base.item.parts.mainClassName|{dialog.style}ListItemLabelMain]"><strong>{FreightBillNum}</strong> {ShipFrom} to {DeliverTo}</div> <div class="[theme:listBox.base.item.parts.subClassName|{dialog.style}ListItemLabelSub]">{CarrActiveName}</div> </div> </div> </div>
When no conditional settings have been applied, it looks like this:
Untitled1.png
When conditional setting have been applied, it looks like this:
Untitled2.png
MobBlueTreeNodeSelected appears to be applied to the first div, but not the second. It keeps the conditional font color is black, whereas MobBlueTreeNodeSelected sets the color to white.
I need it to apply everything in the row when the row is selected. I only need the conditional settings applied when the row is not selected.
Build 5581-5237
Comment