Browse by Tags
All Tags » Code-Behind (RSS)
-
We need a clarification on the changing the group header text when displaying in the grid. The grid needs to display the first row all columns text as the header. Is this possible?
Also need this to happen in the code behind. Please provide some examples of how to do in code behind
Please find the screenshot as of how we need the ...
-
Hello,
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 / ...
-
Hi,
I have successfully bound the column.visible property for my grid using code behind as per a suggestion in another thread like this:
BindingOperations.SetBinding(this.myGrid.Columns[index], Column.VisibleProperty, new Binding() { Source = DataContext, ...
-
Hi,
I am binding the DataGridControl from code behind using datagridcollectionview.....Suppose my datatable contains 5 columns . Now in the xceed grid i want to display the values of 1st and 3rd column in the same header i.e. in one column . How can i achieve this ?????
-
I have a combobox in the TitleTemplate of a grid. When a button click event fires, I want to loop through all of the comboboxes created by the TitleTemplate (x:Name=''ThisComboBox'' in the XAML below). Can you please tell me how access these comboboxes in the code-behind? (The XAML is listed below):
<xcdg:DataGridControl ...
-
I am changing the SelectedItem in a grid in code behind to change the selected row, which works fine. The problem is the RowSelector does not get moved to the selected row. Does anyone have a way to change the RowSelector to match the SelectedItem in code-behind?
-
Got it:
List<String> itemList = new List<String>(); itemList.Add(''NW''); itemList.Add(''N''); ...
-
Hi,
I want to be able to access an insertion row from C# code. Specifically, from inside a method that handles an event fired from a cell editor control.
In our application, we have a control that allows a user to query the database for a valid value. For example, if they know a product code they may type it in directly, otherwise, a ...
-
There is 2 things that could be done.1) Create a style in code for the HierarchicalGroupByControl, in which you set the Visibility to Collapsed, then add the Style to the newly created DataGridControl's Resources collection ( set the key as typeof( HierarchicalGroupByControl ) ). This way, the implicit style will only affect the DataGridControl in ...
|
|
|
|