3.7 Hướng dẫn cấu hình code từ số sang chữ trong table

 

Cấu hình bắt buộc cần có trong giá trị của column: 

"dataFrom": -230,
"dataFromFunc": "convertNumberToWords",
"dataSource": "table"

dataFromFunc, dataSource là 2 giá trị luôn mặc định như vậy

dataFrom là id của số từ column khác. 

cấu hình đầy đủ trong column của table:

{
        "name": "Total In Words",
        "value": "",
        "type": "text",
        "position": -210,
        "id": -210,
        "conditions": {
          "required": false
        },
        "additionalDisplayClass": "left-info",
        "disabled": "true",
        "dataFrom": -230,
        "dataFromFunc": "convertNumberToWords",
        "dataSource": "table"
}

FROM TÙNG HÁT ĐÊ 2 WITH LOVE

No Comments
Back to top