Javascript Fullcalendar Scheduler-如何在第二个ResourceArea列上添加图标/html

Javascript Fullcalendar Scheduler-如何在第二个ResourceArea列上添加图标/html,javascript,html,fullcalendar,fullcalendar-scheduler,fullcalendar-5,Javascript,Html,Fullcalendar,Fullcalendar Scheduler,Fullcalendar 5,iam使用fullcalendar-scheduler-5.3.0 我的事件和资源来自json url: resources: { url: "content/exe/json_load_bm_ressourcen_v2.php" }, 资源区定义: resourceAreaColumns: [ { headerContent: 'Betriebsmittel', field: 'title', width: 360

iam使用fullcalendar-scheduler-5.3.0

我的事件和资源来自json url:

resources: {
    url: "content/exe/json_load_bm_ressourcen_v2.php"
  }, 
资源区定义:

resourceAreaColumns: [
    {
      headerContent: 'Betriebsmittel',
      field: 'title',
      width: 360
    },
    {
      headerContent: '',
      field: 'status',
      width: 40,
      cellDidMount: function(arg) {
        var resource = arg.resource;

        arg.el.addEventListener('click', function() {         
          
          res_id = resource.id.substring(0, 1); 
          var parentId = arg.resource._resource.parentId;
          dep_id = parentId;            
          console.log(dep_id);

          if(res_id != 'd'){
            console.log('User RES ID ' + res_id);
            console.log('User RESOURCE ID ' + resource.id);
            //edit_wpl(resource.id);          
          }
        });
      }
    }
  ],
例如:

[{ 
"id": "d1",
"sort_id":"1",
"title": "Leitern/ Gerüste",
"children": [
{
    "id": "374",
    "title": "Alu-Klappgerüst, Günzburger ",
    "status": "<i class='fal fa-fw fa-times-circle text-danger'></i>",
    "datum_anfang":"1602453600"
  }
]}]
[{
“id”:“d1”,
“排序id”:“1”,
“标题”:“Leitern/Gerüste”,
“儿童”:[
{
“id”:“374”,
“标题”:“Alu Klappgerüst,Günzburger”,
“状态”:“状态”,
“安防数据”:“1602453600”
}
]}]
我想在我的资源列表的第二行显示“状态”字段中的图标。 但是我在这个领域只得到了清晰的html


有什么建议吗?

始终将
字段解释为纯文本。如果要使用图标,必须通过cellDidMount或cellContent回调注入图标。
字段始终解释为纯文本。如果你想使用图标,你必须通过cellDidMount或cellContent回调注入它。