Search
You searched for the word(s): [no words] || User(s): nathan
Showing page 1 of 2 (20 total posts)
< 1 second(s)
-
I just ran into this issue again in another project, so played around some more, and came upon an interesting work around...
Even though the Binding.TargetNullValue seems to be ignored in the print preview, FallbackValue seems to work, even though the binding succeeds in binding to the object's property. Strange, but for now, I guess that ...
-
I have a data source that I convert into a list of view objects that have dynamic properties. My view objects inherit DynamicObject, allowing me to create the needed columns at runtime. I allow the DataGridCollectionViewSource to generate it's own ItemProperties. I then manually generate the column definitions on the actual data ...
-
I just noticed this myself. While DataGridControl.SelectedItem is a valid workaround, I'm surprised this has been an issue this long. This is an issue with the ItemRemoved event as well.
-
That works! Thanks!
-
I have a master/detail grid that I want to be able to delete from from the detail table, but not the master table. I set IsDeleteCommandEnabled to true on the DetailConfiguration, and to false on the master grid. However, the delete key doesn't work. When I set IsDeleteCommandEnabled on the master grid, it starts working, but ...
-
I have columns that are binding to properties of type Nullable<Decimal>, and want null values to appear as * on the datagrid. To achieve this, I set the columns CellContentTemplate to: <DataTemplate ...
-
Ok, clearing CurrentItem did the trick. I wasn't familiar with that property. I've always used SelectedItem. Thanks for the help!
-
I am clearing the selected row before and after I apply the sort, but it still does it.
Here's my scenario. I create the grid and populate it with data. Later on, though before rendering, I apply a sort to it. Then when the grid finally renders, it renders with the sort, and starts at the top of the grid (the way I ...
-
A great feature of the DataGrid is when you select a row and then change the sort, the grid will automatically scroll and select the same row after the sorting is complete. However, I have a case where I need to temporarily turn that off. Is there any way to do that?
thanks
-Nathan
-
Thanks, Matt. I just sent you the repro.
While creating the repro, I had a thought. One detail I failed to mention was that the actual data grid is being removed from the visual tree and replaced with the Visual Brush. Since the data rows are virtual, removing the data grid likely destroys them.
I guess a work ...
1
|
|
|
|