我是DOJO的初学者。我有以下DOJO表。
{ name: "I/P Voltage (V)", classes: "title",
field: "mainsVoltage", width: "80px" },
{ name: "I/P Charging Current (A)", classes: "title",
field: "gridchargingcurrent", width: "150px" },
{ name: "I/P Frequency (Hz)", classes: "title",
field: "mainsFreq", width: "120px" }
如何使单位{(v),(A),(Hz)}出现在下一行的中心?
答案 0 :(得分:0)
使用此:
{ name: "I/P Voltage (V)", classes: "title",field: "mainsVoltage", styles: 'text-align: center;', width: "80px" }