dataSource : {
proxy : {
'|xns' : 'Roo.data',
- url : baseURL + '/Roo/Person.php',
+ url : baseURL + '/Roo/core_person',
xtype : 'HttpProxy',
method : 'GET',
xns : Roo.data
// only used to change active status.
new Pman.Request({
- url : baseURL + '/Roo/Person.php',
+ url : baseURL + '/Roo/core_person',
method :'POST',
params : {
id : record.data.id,
sortable : true,
header : 'Name',
width : 200,
- renderer : function(v) { return String.format('{0}', v); },
+ renderer : function(v,p,r) {
+ if(r.data.active != 1){
+ return String.format('<div style="text-decoration:line-through">{0}</div>', v);
+ }
+ return String.format('{0}', v);
+ },
xns : Roo.grid,
dataIndex : 'name'
},