I have this code:(我有以下代码:)
$("table.contentTable").dataTable({
"iDisplayLength": 25,
"oLanguage": {
"sUrl": "scripts/language/ru_RU.txt"
},
"aaSorting": sorting,
/* "bJQueryUI": true,*/
"bRetrieve": true,
"bProcessing": true,
"bServerSide": true,
"sPaginationType": "paging_with_jqui_icons",
"sAjaxSource": "getAllTripCards",
"fnServerData": fnDataTablesPipeline,
"aoColumns": [
{"mDataProp": "cardNumber"},
{"mDataProp": "issueDate", "sType": "string-date-euro"},
{"mDataProp": "type"},
{"mDataProp": "position"}
...(...)
I need to add a combination of two fields in into a first column.(我需要在第一栏中添加两个字段的组合。) How can I do that?(我怎样才能做到这一点?) I want to make this, but it doesn't work(我想做这个,但是没用)
"aoColumns": [
{"mDataProp": "cardNumber" + "issueDate"},
ask by Vytsalo translate from so
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…