Pman.Tab.AdminCountries.js
"header": "Country",
"width": 200,
"xtype": "ColumnModel",
- "|renderer": "function(v,x,r)\n{ \n return String.format('{0}', r.data.country_tr);\n}",
+ "|renderer": "function(v,x,r)\n{\n if(v == 'subGroup'){\n return String.format('<b>{0}</b>', r.data.country_tr);\n }\n \n return String.format('{0}', r.data.country_tr);\n}",
"|xns": "Roo.grid"
},
{
header : 'Country',
width : 200,
renderer : function(v,x,r)
- {
+ {
+ if(v == 'subGroup'){
+ return String.format('<b>{0}</b>', r.data.country_tr);
+ }
+
return String.format('{0}', r.data.country_tr);
}
}