Hi Alena
I have added this code to the mapping as per screenshot
Where "collapsemessagedetail" is my collapsible and lblMsgRead is the label within collapsible. However both true and false are showing both as Green?
Please check what values you receive, whether they correspond to your statement
The value I'm getting from Read is true or false. I think the issue is I'm not setting the relative label for each collapsible item
After doing some more testing of this it sort of works. I have 4 items being returned to the collapsibles with first 2 being false and last 2 being true. The first false has no color and the next false and true both have green. The last true is then red so its setting the next item rather than the current item in the mapping. How can I resolve this and set current item?
Hi Rox, you should add handler to mobilecollapsblock_85 instead of listUserId.
Hi Aeneas,
Let's output data type and the data itself. Add the following code to mapping:prealert("type=" + typeof value);
alert("value=" + value);/preThen could you please attach screenshots of these messages?
I'm getting output of type=Boolean and value=false for first 2 and Boolean and true for second 2 as expected however its setting the next items colour. See screenshot attached. Also I actually want to set the collapsible header label colour if message is unread but that doesn't seem to change. This is called lblMsgHdr in the code
yes! Thank you so much!
Hi Aeneas,
Could you please post a public link to your app and tell how you reproduce it?