Click here to Skip to main content
15,880,905 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: WPF DataGrid uses a lot of memory, or is slow to scroll Pin
Leif Simon Goodwin14-Jun-18 21:18
Leif Simon Goodwin14-Jun-18 21:18 
AnswerRe: WPF DataGrid uses a lot of memory, or is slow to scroll Pin
Gerry Schmitz14-Jun-18 8:01
mveGerry Schmitz14-Jun-18 8:01 
GeneralRe: WPF DataGrid uses a lot of memory, or is slow to scroll Pin
Leif Simon Goodwin14-Jun-18 21:59
Leif Simon Goodwin14-Jun-18 21:59 
GeneralRe: WPF DataGrid uses a lot of memory, or is slow to scroll Pin
Gerry Schmitz15-Jun-18 8:16
mveGerry Schmitz15-Jun-18 8:16 
GeneralRe: WPF DataGrid uses a lot of memory, or is slow to scroll Pin
Leif Simon Goodwin18-Jun-18 5:40
Leif Simon Goodwin18-Jun-18 5:40 
GeneralRe: WPF DataGrid uses a lot of memory, or is slow to scroll Pin
Gerry Schmitz18-Jun-18 7:04
mveGerry Schmitz18-Jun-18 7:04 
GeneralRe: WPF DataGrid uses a lot of memory, or is slow to scroll Pin
Mycroft Holmes19-Jun-18 13:10
professionalMycroft Holmes19-Jun-18 13:10 
GeneralRe: WPF DataGrid uses a lot of memory, or is slow to scroll Pin
Leif Simon Goodwin19-Jun-18 22:43
Leif Simon Goodwin19-Jun-18 22:43 
Thanks. I might well use that approach, depending on how much progress I make.

Currently I am implementing a solution whereby the grid is read only but when the user double clicks on a cell, it becomes editable. So instead of plain text, they now see a combo box, or a tick box, or a numeric value editor. Double click elsewhere, and the cell becomes read only. This works well with the Microsoft WPF DataGrid though the memory usage is still rather high. The non editable cell control is a Label.

I am also looking at the WPF Table View control on CodePlex. As yet I cannot find out how to make the current cell active when double clicked on, but the memory usage and speed are better. Clearly I can easily pop up a dialog to edit a cell, or a row as you suggest since I can trap the mouse double click.

From searching around it does seem that the performance of grids is a widespread problem.
GeneralRe: WPF DataGrid uses a lot of memory, or is slow to scroll Pin
Pete O'Hanlon19-Jun-18 22:56
mvePete O'Hanlon19-Jun-18 22:56 
GeneralRe: WPF DataGrid uses a lot of memory, or is slow to scroll Pin
Leif Simon Goodwin19-Jun-18 23:27
Leif Simon Goodwin19-Jun-18 23:27 
GeneralRe: WPF DataGrid uses a lot of memory, or is slow to scroll Pin
Pete O'Hanlon19-Jun-18 23:59
mvePete O'Hanlon19-Jun-18 23:59 
GeneralRe: WPF DataGrid uses a lot of memory, or is slow to scroll Pin
Mycroft Holmes20-Jun-18 12:04
professionalMycroft Holmes20-Jun-18 12:04 
GeneralRe: WPF DataGrid uses a lot of memory, or is slow to scroll Pin
Leif Simon Goodwin21-Jun-18 21:27
Leif Simon Goodwin21-Jun-18 21:27 
GeneralRe: WPF DataGrid uses a lot of memory, or is slow to scroll Pin
Mycroft Holmes22-Jun-18 11:55
professionalMycroft Holmes22-Jun-18 11:55 
GeneralRe: WPF DataGrid uses a lot of memory, or is slow to scroll Pin
Leif Simon Goodwin25-Jun-18 3:02
Leif Simon Goodwin25-Jun-18 3:02 
GeneralRe: WPF DataGrid uses a lot of memory, or is slow to scroll Pin
Pete O'Hanlon25-Jun-18 3:08
mvePete O'Hanlon25-Jun-18 3:08 
GeneralRe: WPF DataGrid uses a lot of memory, or is slow to scroll Pin
Leif Simon Goodwin25-Jun-18 3:30
Leif Simon Goodwin25-Jun-18 3:30 
GeneralRe: WPF DataGrid uses a lot of memory, or is slow to scroll Pin
Leif Simon Goodwin25-Jun-18 3:43
Leif Simon Goodwin25-Jun-18 3:43 
GeneralRe: WPF DataGrid uses a lot of memory, or is slow to scroll Pin
Pete O'Hanlon25-Jun-18 4:52
mvePete O'Hanlon25-Jun-18 4:52 
GeneralRe: WPF DataGrid uses a lot of memory, or is slow to scroll Pin
Gerry Schmitz23-Jun-18 4:30
mveGerry Schmitz23-Jun-18 4:30 
GeneralRe: WPF DataGrid uses a lot of memory, or is slow to scroll Pin
Leif Simon Goodwin25-Jun-18 3:19
Leif Simon Goodwin25-Jun-18 3:19 
GeneralRe: WPF DataGrid uses a lot of memory, or is slow to scroll Pin
Gerry Schmitz25-Jun-18 5:48
mveGerry Schmitz25-Jun-18 5:48 
GeneralRe: WPF DataGrid uses a lot of memory, or is slow to scroll Pin
Leif Simon Goodwin25-Jun-18 21:47
Leif Simon Goodwin25-Jun-18 21:47 
QuestionDisplaying a grid of mixed controls from tabular data: solved Pin
Leif Simon Goodwin6-Jun-18 4:04
Leif Simon Goodwin6-Jun-18 4:04 
AnswerRe: Displaying a grid of mixed controls from tabular data Pin
Pete O'Hanlon7-Jun-18 4:06
mvePete O'Hanlon7-Jun-18 4:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.