在更改 handsontable 功能后从 prop in 获取列索引

get column index from prop in after change function of handsontable

Handsontable的after change函数获取column index有问题,老版本比现在清楚多了,这个函数参数changes给出:
包含每个已编辑单元格信息的二维数组 [[row, prop, oldVal, newVal], ...] 但是 COLUMN 在哪里!?

谢谢大家的帮助!

您可以使用 propToCol(prop) 获取列索引 ;)