Thanks for your replies Mark and Bear. I don't know in future how many tie_id's will be there. So, I am going to repeat the colors. I have set color array of
string in session having 10 colors. After the 10'th color, again the first color repeats and so on.
The records are grouped by tie_id. I have set following loop and getting error message. I am taking value of tie_id of first row=first_tieId and then compare it with tie_id of other records. If tie_id are different, a new color will be set.
Erroe Message : Unable to find a value for "1" in object of class "java.lang.String" using operator "[]"
Please help!