我使用的是Footable表,但我的值有问题。我需要在一个单元格中显示两个值。
但我不能添加两个值。 我使用Ajax加载数据
jQuery(function($){
$('.table').footable({
"columns": [
{ "name": "PartID", "title":"PartID", "visible":false },
{"formatter": function(value){
return //I'm thinking this is where the code would go to join the next 3 columns? in the format ##.###.##
}},
{ "name": "PartCategory", "title": "PC" },
{ "name": "PartNumber1", "title": "PN1" },
{ "name": "PartNumber2", "title": "PN2", },
}
],
"rows": $.get('rows.json')
});
});
PartNumber1和PartNumber2必须在一个单元格上,但是如何?