In a WPF application I need to implement convenient for user possibility of quick and easy search for particular records from a SQL Server database.
Please, could you share your expierience and opinion about filtering capabilities of WPF datagrid from a WPF Toolkit, comparing to third-party datagrids?
...
I have seen a lot of Carousels to show off WPF. I have never really need one before now though.
Is there a decent free one?
I have access to the Dev Express one, but I am making an open source project and would rather not put code in it that others cannot easily compile.
...
Problem
I have a WPF Toolkit DataGrid, and I'd like to be able to switch among several preset column orders. This is an MVVM project, so the column orders are stored in a ViewModel. The problem is, I can't get bindings to work for the DisplayIndex property. No matter what I try, including the sweet method in this Josh Smith tutorial, I ...
When the user does a column sort in my DataGrid, I want all null or empty cells to be sorted to the bottom, rather than the top.
I wrote an IComparer<T> that makes sure blanks are always sorted downward, but I can't figure out how to apply it to the columns of my DataGrid. Note that the initial sort of the DataGrid, which I'm doing with...
Hello All,
I am binding a data table to a Datagrid (WPF toolkit) for add, edit and delete. I am able to use tab keys to navigate through the cells from top to bottom. But as soon as I press tab on last rows' last column, it is not taking the cursor to the first cell of new row. How can I achieve this?
Thanks
...
Hi,
I am trying to make the column header of my WPF Datagrid to be transparent.
I am able to set it to a color without problem, but I can't have it transparent. Here is what I tried:
<Style x:Key="DatagridColumnHeaderStyle" TargetType="{x:Type tk:DataGridColumnHeader}">
<Setter Property="Background" Value="Transparent" />
<Sette...
Having successfully used DataGridTextColumn a few times, I was unprepared for the difficulty I encountered using DataGridComboBoxColumn.
I can bind an int field in a class to DataGridTextColumn, but I have failed completely to bind the same field to DataGridComboBoxColumn. When the screen is displayed, the DataGridTextColum contains a v...
I want to allow the user to add a column and for that column to appear on screen. Is there a way to find which columns are currently on screen?
...
I am using the charts that come with the WPF toolkit and I am trying to shade or color between two points on a line chart.
For instance: I have dates on the x-axis and I want to color the area on the chart between two of those dates.
Anyone have any ideas or solutions?
...
I have a datagrid which is styled for my requirement. Each datagrid row consists of 7 columns. The datatemplates of each column is as follows.
Column 1 - TextBox
Column 2 - ComboBox
Column 3 - TextBlock
Column 4 - TextBox
Column 5 - TextBox
Column 6 - TextBox
Column 7 - TextBlock
I have an event handler for the PreviewMouseLeftButtonD...
I've got the following collection, which serves as a global storage for a group of LineSeries ItemsSources for a chart.
public ObservableCollection<ObservableCollection<Data>> AllDataSeries;
The said collection may change every now and then, when it's reset I clear the chart from all series - and when it's re-populating again I'm addi...
I am using the WPF Toolkit DataGrid control and it works fine, with a minor exception. The last four columns of my table will not sort. All the other columns sort, and a up/down arrow appears.
I used my Server Explorer to drag and drop a table onto the Designer.
My C# code looks like:
private void SymbolsControl_Loaded(object sender,...
Hi,
I am a very novice WPF programmer, so need help in some simple tasks.
1- As the image shows, I want the (+) tab(it's a tab created with TabItem as of now or should it be button or something else? :-/) to create a tab left to it, say (A1), pressing again, should create (A2), sort of like in tabbed browsers......... And if possible,...
Hi there
I need a custom ToolKit:DataGrid
I have a style like these, It only modify the Columns Headers:
<Style x:Key="ColumnHeaderStyle_Green" TargetType="{x:Type tk:DataGridColumnHeader}">
<Setter Property="Background" Value="#408080" />
<Setter Property="Foreground" Value="White" />
<Setter Property="FontFamily" Value="...
I have a style for the WPF Toolkit DataGrid, how can I change the style of the ScrollBar without using the Property="Template"? Is that Possible?
...
I am using the following code to populate a wpf datagrid with items in my db4o OODB:
IObjectContainer db = Db4oEmbedded.OpenFile(Db4oEmbedded.NewConfiguration(), "C:\Dev\ContractKeeper\Database\ContractKeeper.yap");
var contractTypes = db.Query(typeof(ContractType));
this.dataGrid1.ItemsSource = contractTypes.ToList();
Here is the XA...
Hi,
I have a DataGrid with some template columns that contain another DataGrid. My problem is that if some rows have a lot of content in them their height doesn't adjust so the whole content is visible, but rather it's cut off, giving the impression that the rows overlap. However, as soon as I add a new row to the grid or add a new row ...
I am using RowDetailsTemplate to display a nested datagrid for a row. Now the datagrid expands in height when I select a row to show this nested datagrid. But it doesn't reduce its height when the row is deselected.
Is there a way to resize the datagrid to its original height after the row details have been collapsed?
Is it possible to...
Is there a way to mark the entire DataGrid as one-way binding?
...
Is there a better way than this to determine the row a user double-clicked on in a data-grid?
Private Sub ResultsGrid_MouseDoubleClick(ByVal sender As System.Object, ByVal e As System.Windows.Input.MouseButtonEventArgs)
Dim node As DependencyObject = CType(e.OriginalSource, DependencyObject)
Do Until TypeOf node Is Microsoft.Win...