I have a Datagrid thats being populated by different Arrays... (headers/columns change for the same DataGrid)...
I would like to Select a Column of the Datagrid after it was generated by the Dataprovider and Bold it, and place it as the 'last…
I have a project, which contain converter. When I click in DGKraj (one of the many ComboBox) and during initialization converter is automatically called. How can I call the converter only during initialization?
public class CountrySingleConverter :…
I have a project, which contain converter. After completion of the ContinentSelectionChanged method call, is called automatically the converter. How can I change the value that converter gets?
XAML
Folks,
I need to add a "tag" property to a programatically created WPF DataGridColumn. I saw a nice example at Tag Property in WPF DataGrid Column.
However, this example is using the tag property in a statically defined xaml file. In my case, I…
I want to bind a collection of data as different columns in a DataGrid. The normal way we bind data is bind property. But now my scenario is the properties is a dynamic collection which might be different from different object instances. For each…
I have a kendo grid like this..
@(Html.Kendo().Grid()
.Name("baseball")
.DataSource(dataSource => dataSource
.Ajax()
.Read(read => read.Action("Index", "baseball"))
…
I was developing an app that in the first state you choose a date range using dataFields then you press a button to go to another state and generate a datagrid showing an employee list and another scrollable datagrid with its columns generated…
To start with, I am very new to Flex.
I have a ComboBox that is filled in with choices from the database. Underneath that is a Flex Datagrid with DataGridColumns (mx:located below). I would like to figure out a way that when a selection is made…
I have a DataGrid whose dataProvider is an Array of int Arrays (each with different lengths). Since each row has variable size (and I want to display all the data), I decided to extend DataGridColumn and overwrite the itemToLabel function to be able…
I have been tasked with taking an existing list of transparent .png images (currently housed within an ImageList) and displaying them in a WPF DataGrid based on the ImageID column.
I have set up the DataGridColumn as follows:
_dataTemplateColumn…
Here is my ViewModel class:
public class ColumnViewModel : ViewModelBase
{
private string bindingPropName;
public string BindingPropName
{
get { return bindingPropName; }
set
{
if (bindingPropName !=…
I have a SL3 DataGrid bound to a collection. One column of the datagrid is a HyperlinkButton column and I want to bind the click event of the column to an ICommand present in the VM.
pseudo code:
DataGrid ItemsSource="{Binding someCollection}"
…
I am attempting to create an AttachedProperty for a DataGridColumn within Silverlight 3.0 and I am having some issues.
Here is the AttachedProperty:
public class DataGridColumnHelper
{
public static readonly DependencyProperty HeaderProperty =
…