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.
我有一个 HTMLB 表格视图。每 3 分钟我需要将它的firstRowVisible属性设置为一个动态值,即如果它第一次为零,那么在 3 分钟后它应该设置为 21,依此类推。
firstRowVisible
您能告诉我设置此参数的可能解决方案吗?
使用回调和setTimeout
setTimeout
例如:
var callback = function(){ //do something with firstRowVisible }; setTimeout(callback, 3 * 60 * 1000); //after 3 minutes