Your data should be ready to display when you enter each for-loop. If not then
you are
mixing too much logic into your interface. Consider moving the logic back into
Java.
With your data ready to display you can test your condition at the outset of
the for-loop and
set the appropriate backg
i think i follow most of it.
first to answer your question, this information is coming from the db
and changes on the fly.
second i am not sure how to check this at the beginning of the foreach
loop, i mean how can i check for the contents of an individual cell.
also my foreach loop generates eac
What's the problem?
You can test your condition at the beginning of the row, when writing the
component, so
that you generate something like or
I'm sure you've got past this.
You mention "when certain text is received", does this mean from user input in
the midst of
the table row or fro
guys,
i have a table with a foreach condition within it. now the code
generates a bunch of table rows based on my condition.
now within my last column, i have a condition where if a certain text
is received the background colour of that cell changes. now what i
want to do is, if that text is rec