6
iam intentando diseñar una fila dentro de un DojoX (1.2.3) Cuadrícula según los valores de la grilla.Estilo Dojox Grid Fila según los datos
GridLayout:
var view1 = {
noscroll: true,
rows: [{
field: 'TASK_ID',
name: 'ID',
width: '80px',
get: this.getColor
}, {
field: 'MENUPOINT',
name: 'Action',
width: '250px'
}]
};
Función getColor:
getColor: function(inRowIndex) {
console.log(inRowIndex);
grid = dijit.byId('gridTaskCurrent');
// if task_id = 1 style row with other background(?)
},
y no tengo ni idea de cómo obtener el valor task_id de cada fila y establecer un estilo de la fila .. si alguien tiene un buen enlace o sabe cómo hacerlo ... sería genial.