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.
我有一张表,我需要获取其中的行数。我正在尝试这个
this.app.table("#1").length
但它返回 0 或 1。我对 javascript 不是很熟悉
this.app.table("#1").get("x", "size");
这就是monkeytalk-forum 中的某个人所说的,它正在工作!:)
尝试
this.app.table("#1")[0].rows.length