Top "Datagrid" questions

A graphical user interface element that presents a tabular view of data.

WPF DataGrid is very slow to render

I have tried using both a customized DataGrid as well as the stock one in WPF. I have tried populating …

wpf performance datagrid render
Improve WPF DataGrid performance

In my .NET 3.5 WPF Application, I have a WPF DataGrid which will be populated with 500 columns and 50 rows. The performance …

c# wpf datagrid wpfdatagrid
CollectionViewSource MVVM Implementation for WPF DataGrid

I have implemented small demo of CollectionViewSource for WPF DataGrid in MVVM. I would really appreciate any help to verify …

c# wpf mvvm datagrid collectionviewsource
Passing a variable from Scriptlets to Javascript.

I have this code snippet :: <script type="text/javascript"> function gotoa(){ <%! public void a(){ String temp1; PopulateTextbox …

java javascript datagrid scriptlet
Coloring Gridlines in WPF Datagrid

How can I set the color of the gridlines of a wpf datagrid? I can hide these lines with the …

.net wpf xaml datagrid
Why can't I style a DataGridTextColumn?

I tried to create a Style for DataGridTextColumn with the following code <Style TargetType="{x:Type DataGridTextColumn}"> ... </…

wpf datagrid styles
DataGrid column width doesn't auto-update

<DataGridTextColumn Binding="{Binding Name}" Width="*"/> <DataGridTextColumn Binding="{Binding Change}" Width="Auto"/> When the value of Change …

c# .net wpf xaml datagrid
How to remove DataGrid's blank row when binding to a ObservableCollection<T>?

I'm getting nuts here with this: ObservableCollection<Employee> list = new ObservableCollection<Employee>(); dgEmployees.ItemsSource = list; When …

datagrid observablecollection wpftoolkit
How do I enable text wrapping on all column headers?

How does one enable text wrapping on all column headers of a DataGrid, without disabling the other default header functionality? …

wpf datagrid wpftoolkit word-wrap
Pre-sorting a DataGrid in WPF

I have a DataGrid in WPF app with several columns, including a Name column. If the users switches to a …

wpf xaml sorting datagrid wpftoolkit