[英]How do I select a specific cell in a specific row in a Tabulator table
I want to be able to programmatically select or grab a specific cell in a specific row - for example to get the 7th column of the row with data.id = 1:我希望能够以编程方式选择或抓取特定行中的特定单元格 - 例如获取 data.id = 1 的行的第 7 列:
tableObject.selectRow(1).getCell(6)
I've been playing for ages with this and I can't get it to work.我已经用这个玩了很长时间了,但我无法让它工作。 Help please.
请帮助。
经过多次摆弄,我找到了解决方案:
tableObject.getRowFromPosition(0).getCell('fieldname')
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.