Questions tagged [virtualmode]

53 questions
3
votes
3 answers

WinForms ListView draws HELL SLOW in Windows 7 Compared to XP

I'm using ListView in VirtualMode and Details View with small icons. This ListView have like 100,000 items inside. The problem is that drawing this listview is much slower in Windows 7 compared to XP. You can fill the slow drawing while scrolling…
DxCK
  • 4,402
  • 7
  • 50
  • 89
3
votes
1 answer

How do I update a WinForms ListView when using VirtualMode=True?

I have an app with a large ListView which is terribly slow so I'm implementing VirtualMode. MSDN does not seem to cover how I would add and delete new items in the middle of the listview. For example, the ListView has 1000 items (representing files…
Ryan O'Neill
  • 5,410
  • 4
  • 46
  • 69
3
votes
2 answers

Virtual Listview for ASP.net?

Is there a virtual listview for ASP.net? Most tables (and grids, listview, data tables, data grids, grid views, list grids) i find for asp.net expect the user to page through data. i want a listview that contains, for example, 10,000 items; and i…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
2
votes
2 answers

Winforms DataGridView in VirtualMode when to call AutoResizeColumn?

I have implemented a DataGridView on my form and successfully implemented VirtualMode. This retrieves cell data from a local cache and all appears to be working correctly when populating the grid/paging etc. I handle the…
Jon Comtois
  • 1,824
  • 1
  • 22
  • 29
2
votes
0 answers

When should I call AutoResizeColumns for a virtual ListView?

I'm setting up a virtual ListView in details mode, and I'd like its columns to automatically resize so as to not truncate the text of the currently visible items. Calling AutoResizeColumns works great (at least it looks like it does, since the…
Clément
  • 12,299
  • 15
  • 75
  • 115
2
votes
1 answer

Displaying a large table of data

Disclaimer: My career has been in embedded software, and I've just recently gotten into desktop applications. The application I'm developing has a simulation that produces a sparse 2-D matrix that can be on the order of 3000x3000 elements. The…
2
votes
1 answer

ListView [VirtualMode] change selected index

VirtualMode = true MultiSelect = false I can get selected index item, but how change it? SelectedIndices is readonly.
Yura Shinkarev
  • 5,134
  • 7
  • 34
  • 57
2
votes
5 answers

How to sort ListView items when ListView is in VirtualMode?

I realize i have to sort the collection where the ListView gathers the items from: ListView listCollection = new ListView(); But this doesn't seem to work unless the ListView is added as a GUI-control to the form, that in turn makes it very slow to…
TL
1
vote
2 answers

How to tell when somebody is reading an item from a CollectionBase

I'm not sure if this is possible using a CollectionBase class. I'd like to know when somebody is accessing an item in a CollectionBase class. The final goal is to create a "VirtualMode" (similar to the DataGridView control) that allows me to check…
Trevor Watson
  • 415
  • 1
  • 8
  • 20
1
vote
1 answer

virtualmode Datagridview with just in time data loading via async-await data retriever

I followed the example given here How to: Implement Virtual Mode with Just-In-Time Data Loading in the Windows Forms DataGridView Control to implement a just in time loading for a virtual mode DataGridView. This worked nice but given the size of the…
jahu
  • 533
  • 4
  • 15
1
vote
2 answers

Improve performance on DataGridView if using it in Virtual Mode

Setting RowCount on DataGridView in Virtual Mode is really slow. When using a data grid view in Virtual Mode, you have to manually specify the RowCount. This is sometimes really slow, especially when dealing with a huge volume of data. Performance…
mrc
  • 307
  • 1
  • 4
  • 17
1
vote
5 answers

How to change the row position of virtual mode DataGridView?

How to change the row position of virtual mode DataGridView? I am using Windows Forms.
Michael Buen
  • 38,643
  • 9
  • 94
  • 118
1
vote
2 answers

Focus an item in ListView with VirtualMode enabled

I have a ListView in VirtualMode. I need a way to set focus to specific item. The FocusedItem is not good for the VirtualMode, I need a way to set FocusedIndex or something like that, but didn't see any property like that. Thanks.
DxCK
  • 4,402
  • 7
  • 50
  • 89
1
vote
1 answer

WinForms.DataGridView VirtualMode Collapsing rows

I am working on a WinForms Application, that have a DataGridView, this Control emulates a TreeView, so the RowCount changes drastically. I am having a performance issue when collapsing rows... Example: // dataGrid.VirtualMode = true; //…
1
vote
1 answer

Is WinForms ListView in VirtualMode limited to 100,000,000 rows?

I have some grid scenario with > 500,000,000 rows I would like to display in ListView. If I artificially limit my ListView to display 100,000,000: _listView.VirtualListSize = _data.Count; if (_listView.VirtualListSize > 100000000) …
damageboy
  • 2,097
  • 19
  • 34