I am trying to change the color of a cell to Yellow if the value has been updated in the DataGrid.
My XAML:
<toolkit:DataGrid x:Name="TheGrid"
ItemsSource="{Binding}"
IsReadOnly="False"
CanUserAddRows="False"
CanUserResizeRows="False"
AutoGenerate...
Hi,
I'm having an issue styling the WPF Datagrid, I've styled the column headers (of type ColumnHeader).
But when the data in the columns does not fill the full width of the grid an additional column is added to pad out the grid. This column ignores the ColumnHeader style and looks out of place presumably because the element has a d...
I'm using WPF Toolkit DataGrid and DataGridComboBoxColumn. Everything works well, except that when selection change happens on the combobox, the selectedvaluebinding source is not updated immediately. This happens only when the combobox loses focus. Has anyone run into this issue and any suggestions solutions ?
Here's the xaml for the ...
I am using a DataGrid object from the WPF toolkit. I am binding the DataGrid object to the default view of a DataTable instance as declared in the following code:
WeatherGrid.ItemsSource = weatherDataTable.DefaultView;
weatherDataTable has three columns. The first column is defined to contain a string data type. The other two colum...
Hi Everyone
I am creating a user control in MVVM.
I have a datagrid in my user control.When i click a button in the user control i want to pass the parameters as selected items in the datagrid. I have declared the two controls(datagrid and button in two different data template) now when i use command parameter for the button and specif...
Hi,
I have a wpfToolkit-datagrid.
Can I use a trigger for the following "IsSelected" property to update a selectedItems list in view-model ?
< Style TargetType="tk:DataGridRow">
< Setter Property="IsSelected" Value="{Binding IsSelected, Mode=TwoWay}" />
< /Style>
...
Hi,
I have a WPf Toolkit-datagrid..in my application which follows MVVM pattern.
How I can call a function in view-model if user selects a particular row in datagrid ?
...
Hi,
I have a WPFToolkit Datagrid inside my user control. I am creating my user contrrol in mvvm pattern. How can I implement paging in datagrid?
Is there any default paging mechanism or Do we have to go with custom paging ?
...
Q: Where should I check to track this down?
Issue:
Opening a view model in my application sometimes makes dropdowns/datepickers nonfunctional.
ie. dropdown won't drop and the datepicker calendar won't come up
I suspect a binding issue but don't see one.
Dropdowns have normal things like strings, numbers.
One drop has a list of mi...
So I'm having a problem with the charting engine from the WPF toolkit.
We haven't moved our data to a proper object model, so the ItemSource is backed with a DataView.
First attempt
<chartingToolkit:ScatterSeries x:Name="TargetSeries"
DataPointStyle="{StaticResource TargetStyle}"
ItemsSource="{Binding Path=TargetSeriesData}"
...
I'm using the WPF Toolkit's DataGrid to display a set of search results. As per then scenario in my other question I want to be able to pre-fetch secondary results for each of my viewable (that is, within the visible scroll area) rows in the datagrid.
I want to be able to:
Query "viewable" rows
Raise an event when rows become visible ...
I want to add filter to columns in WPFToolkit datagrid. Is it possible to make it work like the ones in commercial grids (like in DevExpress's or Telerik's..)? Also a small second question about paging in datagrid..Do i need the one in the grid (i just want fast grid, so i thought about paging. Or maybe data virtualization there works ju...
Hey Guys,
I want to use a Datagrid as conten of another Datagrid's RowDetailsTemplate. It works nerarly perfect, but there is the problem, that the child Datagrid ColumnDefinition seems to have no effect.
Here is my Code:
<toolkit:DataGrid VerticalAlignment="Top" HorizontalAlignment="Stretch"
AutoGenerate...
Hi,
I've just updated my app with the latest WPF toolkit and I've now got an issue with my styling.
When I bind some data with, for example, two columns to the grid, the header in the spare area at the right shows the name of the ViewModel.
So if I bind an IEnumerable with two columns the Grid Header looks like
Column1, Column1, [Nam...
Hey, Guys
As I have a DataGrid as another DataGrid's RowDetailsTemplate, I've got a strage effekt. If I Change selection in my inner DataGrid, the SelectionChanged-Method in the outer Grid is automatically caled, too. I don't know why, but I would like to know, what I can do against this.
Thx
...
I'm currently recoding a bar chart in my app to make use of the Chart class in the WPF Toolkit. Using MVVM, I'm binding the ItemsSource of a ColumnSeries in my chart to a property on my viewmodel. Here's the relevant XAML:
<charting:Chart>
<charting:ColumnSeries ItemsSource="{Binding ScoreDistribution.ClassScores}"
...
I'm using the MaskedTextbox for .NET 3.5 SP1, from the WPF toolkit. I've got a MaskedTextbox on a WPF page, it fills fine from a SQL Server database, but when I tried to edit the value nothing at all happens. I can select anything, but typing over it, or pressing the delete key or anything else I can thing of, does nothing to the value...
I am using the WPF toolkit datagrid to display some data and want to increase the thickness of the horizontal girdlines for each row, I would have thought this would be a simple thing to do but i can't find solution.
...
Drag access database into designer xsd, toolkit:datagrid get datacontext from resources
correctly show the table content through this binding. Press button in the button column, can show each row correctly. delete row and add row also work in datagrid
however, when i press button column to add a new row or delete a row, there is no chan...
When I first open my window that uses the wpf toolkit datepicker it has today's date highlighted in the calendar but nothing in the associated textbox (expect a water mark of mm/dd/yyy).
I want to reset the datepick to that initial state after a user selects a date and "submits" so when they use it again it not at the date they previous...