Looking at your code you sometimesset the color value, but sometimes do not. You sometimes add CSS classes.
You never clear the cell state back down to default, so the states you add "stick"
Will setting error will effect my return value. I have gone through the code but i can't see any issue with code but don't know why renderer overriding value.And renderer keeps getting called.
but after renderer get called in UI when i click on lineItem2 actualDate it shows by default date in date picker as 02/03/04 which should be ideally undefined. Why is this happening.