Granular manipulation of array variables in Datatables

后端 未结 2 1239
后悔当初
后悔当初 2021-01-21 19:41

You can see in this fiddle that I\'m looking for a solution that lets me join a couple of JSON fields in the same Datatables column. This is the solution I foun

2条回答
  •  轮回少年
    2021-01-21 19:51

    This is more elegant if you HAVE to specify which items you want

    function cFL(string) {
      return string.charAt(0).toUpperCase() + string.slice(1);
    }
    
    
    "render": function(data, type, full) {
      var x = [], y=["container-title","volume","issue","page"];
      for (var i=0;i

提交回复
热议问题