Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 DOJO 表。如何将列名写成两行?
{classes: "title", name: "I/P Voltage (V)", field: "mainsVoltage",styles: 'text-align: center;', width: "100px" }
我希望 I/P 电压在一行中,(V)在下一行和中心。我怎样才能做到这一点?
您可以在dojox/grid/DataGrid. 所以你会想要:
dojox/grid/DataGrid
{classes: "title", name: "I/P Voltage<br>(V)", field: "mainsVoltage",styles: 'text-align: center;', width: "100px" }