Browse by Tags
» ComboBox cell editor template (RSS)
Hi..I am using Xceed DataGrid For WPF 3.5 professional edition.
I am binding a combobox as cell editor through C# code and not throgh XAML. The selected value of the combobox is not retained in the cell after the edit. I want to set the SelectedValueProperty so that it will retain the selected value, but dont know what should i set it ...
I have a combo box in a grid cell which populates data from collection. However, it's value is not getting saved in the grid cell when focus is moved to another row in the grid. Any pointers would be greatly appreciated.
I am trying to display an Xceed WPF datagrid on a WinForm. I created a user control that is the datagrid, and then added the usercontrol to an ElementHost on the Winform. That works, and I am able to display data. My problem is, I am trying to define one of the columns as a combobox editor. Where do I add the XAML code for defining this? I ...
Hi, i'd like to add a multicheckbox combo in wpf data grid. Some suggestion ?
the best would be to have the same that i've with ''Automatic Filtering'' in head column.
I am using Model View ViewModel pattern. I have a button inside a DataCell of Xceed DataGrid. I want to use DelegateCommand to handle the click event of the button.
Also, I dont want to write anything for the same in my Code Behind. I want everything to reside in my ViewModel.
How can this be achieved. I thought of RoutedEvents / ...
1. I have data in DataTable. Need to bind with DataGrid. How can i do that?
2. I need to make one column as comboBox. In this combo box only two hard coded Values 'Dr' and 'Cr'. In DataTable I have 0 for Dr and 1 for Cr in column named 'dr_cr'. If DataTable cell contains 0 then Dr should be selected and if 1 then Cr should be selected. ...
I am using a combobox in Cell edit template i am loading the combobox content when the edit is fired but after the ending edit i am getting the Member not the Value. My code is below:
<xcdg:DataGridControl Grid.Row=''2'' HorizontalAlignment=''Left'' Name=''NotesGrid'' Width=''800'' Height=''Auto'' ...
As far as making a cell enabled or disabled (ReadOnly) at runtime, the following example will definitely suit your requirements. But to change a cell's EditTemplate at runtime does not seems to be an easy task as EditTemplate property belongs to the entire column and not just a single cell.
Anywayz have a look at the following example ...