1
Help for ParamQuery Grid (free version) / How do I use format without ParamQuery Pro
« on: May 20, 2019, 07:10:38 pm »
I want use format, like formatter in easyui grid:
$('#dg').datagrid({
columns:[[
{field:'userId',title:'User', width:80,
formatter: function(value,row,index){
if (row.user){
return row.user.name;
} else {
return value;
}
}
}
]]
});
can you give me some advice to achieve this?
$('#dg').datagrid({
columns:[[
{field:'userId',title:'User', width:80,
formatter: function(value,row,index){
if (row.user){
return row.user.name;
} else {
return value;
}
}
}
]]
});
can you give me some advice to achieve this?