更新时间:2023-01-25 20:35:12
主页为您提供了一个很好的示例:
The homepage provides a good example for your purpose:
http://handsontable.com/demo/renderers.html
只需修改条件(在本例中为上/左角)即可.
Just modify the condition (in this case upper/left corner).
cells: function (row, col, prop) {
if (row === 0 && col === 0) {
return {type: {renderer: greenRenderer}};
}
}
您完成了.