[Dojo-interest] formatter o decoration in GridX

LeoCombes combesl at gmail.com
Tue Jan 21 13:22:22 EST 2014


I'm trying change background color in certain rows of GridX depending of
column value, without success.

I have a structure like this:

For example, I want that if the "reply" value is different to "ok" value,
every row has a red background.

something like:

formatter: function(itemData, rowIndex, rowId){
	if(itemData.reply != "ok") {

Can someone give me an example of how to do it?

View this message in context: http://dojo-toolkit.33424.n3.nabble.com/formatter-o-decoration-in-GridX-tp4000793.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.

More information about the Dojo-interest mailing list