Extjs6:如何在网格中使用 rowexpander 以编程方式 expand/collapse 一行

Extjs6: How can I programmactically expand/collapse a row using rowexpander in a grid

我看到一些 Extjs4 的答案,它们使用 'toggleRow' 方法: How to expand row in a grid using rowexpander plugin Extjs 4.1.1

但它在 extjs6 中不再可用。请帮忙

In fact, it is still available, but they removed it from the docs, I don't know why.