I have a jqgrid which has been loaded from dwr call. It is a dynamic table. In POJO I set 3 status and generate dynamic checkbox.
This is my pojo code.
private String cBox;
public String cBox()
{
if (style() == D)
{
return i l create checkbox here;
}
else if (style() == E)
{
return checkbox will be created ;
}
else if (getStatusFlag() == F)
{
return checkbox will be created;
}
return cBox;
}
I load jqgrid like this.
colNames : ['Code no.', 'Title' ],
colModel : [{
name : 'code_no',
index : 'code_no',
width : '100%',
sorttype : 'text',
align : 'left'
},
{
name : 'title',
index : 'title',
width : '100%',
sorttype : 'text',
align : 'left'
}]
I want to make the entire row bold, if the style is D and I want to make the background color of the row blue when the color is E. How should I customize the jqgrid row ?