Got it.
added following line (based on item index)
cellItem.add(new AttributeModifier("style", true, new
Model("background-color:blue")));
in populateItem call.
~Tushar
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/dynamically-change-colors-of-odd-even-style-for-defaultDataTable-tp3049310p3049333.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]