TableViewSection.remove示例

| 有谁知道如何在Titanium中删除TableView内的行。     
已邀请:
tableview.deleteRow(0); 
不要传递行对象,而是传递索引,它将起作用。那里的文件完全乱七八糟。     
要从TableView中删除,您可以使用
Ti.UI.TableView.deleteRow()
http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.TableView.deleteRow-method.html 要从TableViewSection中删除,可以使用
Ti.UI.TableViewSection.remove()
http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.TableViewSection.remove-method.html     
正如Brian Huenefeld所指出的那样,它在文档中,但它也在Kitchen Sink应用程序中 https://github.com/appcelerator/KitchenSink/blob/master/Resources/examples/table_view_row_delete.js 将来,在提出问题之前,请进行更多的尽职调查     

要回复问题请先登录注册