获取所有选定的项目 - 真的很复杂? [英] Fetching all the selected items - really so complicated?
本文介绍了获取所有选定的项目 - 真的很复杂?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
根据 http:// msdn。 microsoft.com/en-us/library/windows/apps/br211809.aspx 你必须编写一些荒谬的代码,只需
即可进行单一方法调用:listview.selected。 forEachItem()。这应该使用承诺或其他方式从数据源中提取选择的项目。
According to http://msdn.microsoft.com/en-us/library/windows/apps/br211809.aspx you have to write ridiculous amount of code what should just be a single method call: listview.selected.forEachItem(). This should pull the seleted items from the datasource, using a promise or whatever.
我真的看不出为什么这个日常任务如此困难?
I really see no reason why this every-day task is so difficult?
我在这里错过了更大的图片吗?
Am I missing the bigger picture here?
谢谢,
Phil
推荐答案
该特定样本似乎有点复杂,但复杂程度取决于您对数据和ListView中的项目所做的工作。  我会看看你是否有一个更简单的例子!
That particular sample seems a little complicated but the level of complexity depends on what you are doing with the data and the items in the ListView. I will see if there is a simpler example for you!
这篇关于获取所有选定的项目 - 真的很复杂?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文