I have 2 SharePoint lists, one is a parent task list and the other a child task lists. In SharePoint Designer 2007 I have created a combined datasource from these 2 lists. From there I created a new ASPX page inserting the parent list as
a dataview and the child as a subview. So far so good, all is functioning as you would expect.
Now I need to apply conditional formatting to cells and rows in both the parent and child lists. I can create a very simple condition on a row or cell of the parent list such as "If ID Equals '2988' format the background color as
green" but no conditional formatting appears for the row where ID = 2988. Incidentally, if I change the condition to "not equals 2988" the background changes to green.
The line in the code view of Designer appears as follows: <xsl:if test="../../../Rows/Row/@ID = '2988'">background-color: #00FF00;</xsl:if>
I've seen this question asked here and in blogs but never answered. If anyone has a solution, I would love to know what it is.
UPDATE: it doesn't seem to matter if you add the additional fields as a joined subview or not. If I add 2 data views, both using the linked data source which is configured to JOIN the contents of the data sources the conditional formatt
View Complete Post