how good filter infinite listviewitemcollection?


so i have listview an top border 1000 items. i need means filter equipment controlling textbox's textchanged event. i have formula works good smaller array equipment (~400), nonetheless i need re-display full list 1000 items, takes 4 seconds.



i am formulating new listviewitems each time. instead, i keep list full vigilant collection following supplement that. seems .add slight holding enlarged regardless. here small sample:



this.beginupdate();
foreach (listviewitem vigilant m_cacheditems)
{
mylistview.add(item);
}
this.endupdate;


i have attempted wholly adding blank equipment (i.e., inadequacy between equipment now being displayed sum list items), nonetheless doesn't work either. there conditions there wholly vigilant now displayed, user clears textbox, i need arrangement whole list.



i am unequivocally means eeking opening out .net controls infinite illustration this, i don't unequivocally know improved proceed it. there any proceed around controlling .add() method, not, only e improved whole solution?



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

using mvc, should hoop communication between views? between models?