datagridcolumn Questions

5

What would be the best/right way to have a set of DataGrid columns have proportional width (Width="\*"), but to have their minimum width be at least the width of their content? At the moment, if I ...
Hurless asked 4/8, 2010 at 9:7

6

Solved

I've got two WPF Toolkit DataGrids, I'd like so that when the user resizes the first column in the first grid, it resizes the first column in the second grid. I've tried binding the width of the Da...
Ebonieebonite asked 5/1, 2009 at 20:0

2

Solved

I found the Columns collection in my datagrid, and was hoping to iterate through it to find a certain column Name. However, I can't figure out how to address the x:Name attribute of the column. Thi...
Husein asked 3/1, 2011 at 22:1

2

Solved

My code is as follows: void mainDataContextObj_CutSelectedColumnEvent(string columnId) { IList<DataGridColumn> columns = dg.Columns; for(int i=2; i<dg.Columns.Count; i++) { DataGri...
Dump asked 27/10, 2010 at 7:11

0

I need to select all the cells of a column which header was clicked , i took this from the following post : Selecting all Cells in Column when a certain column is clicked i wan't to select all ...
Pelisse asked 10/11, 2013 at 12:38

1

Solved

I've spent several hours looking at this with no results. I simply want to have a DataGrid with X number of columns that maintains its relative width to the Grid itself. So, for example: Col 1:...
Rimose asked 26/7, 2013 at 1:39

2

Solved

So, for example I have some MVVM WPF application with simple model: public class MyObject { public string F1 { get; set; } public string F2 { get; set; } } and simple view model that creates 3...
Rules asked 4/7, 2013 at 16:44

4

I want that the DataGridColumn or AdvancedDataGridColumn would automatically resize it's width so as to fit the content within.. I'm new to flex. I want to implement something like HTML tables. T...
Sleight asked 21/5, 2010 at 10:30

5

Solved

I tried the following: <tk:DataGridTextColumn Header="Item" Binding="{Binding Item.Title}" ToolTipService.ToolTip="{Binding Item.Description}" /> And I don't see any tool tip. Any i...
Webby asked 14/11, 2009 at 20:58
1

© 2022 - 2024 — McMap. All rights reserved.