Browse by Tags
All Tags » "Data Binding" (RSS)
Showing page 1 of 3 (26 total posts)
-
I need to display a datagrid with two columns that are bound to the same property. Here is the code I am using but it does not work:
DataGridCollectionView dataGridCollectionView = new DataGridCollectionView(list, typeof(MyData), false, ...
-
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 DataGridControl by DataGridCollectionViewSource in XAML.
XAML:
<xcdg:DataGridCollectionViewSource x:Key=''cvsSchedule'' Source=''{Binding ElementName=SchedulePage,Path=DtApptsSchedule}'' AutoFilterMode=''And''></xcdg:DataGridCollectionViewSource>
<xcdg:DataGridControl Width=''auto'' Height=''auto'' ...
-
Hi,
I am using multibinding to show user image along with the Firstname and lastname. As it was implemented in sample application provided by xceed. Now if i want to implement sorting on this column it will sort according to the ID used for this column.But sorting like this does not make any sense. So if i want to sort it with the firstname only ...
-
Hello,
I’m trying to bind DataGridControl to a complex collection which have no predefined properties;
The structure of the collection is as follow:
My collection is a List of RowList objects - List<RowList>
RowList is a List of ColumnInfo - List<ColumnInfo>
ColumnInfo is an object that have tow properties : ...
-
Hi All,
If anybody tried to bind the column through resources file like visibility(depending upon selection). Actuall I want to bind the xceed column visibility by using resources file. I have done the Text,Content rendering from the resources file for TextBlock, CheckBox, RadioButtons. It's working fine.
If anybody can ...
-
I have a custom control that is working fine inside of an EditTemplate. The template is being used on a grid that is bound to a collection of business objects. The problem I have is that from within the control I need to be able to access the parent business object. For a simple contrived example let’s say I have an EditTemplate ...
-
Hello ,
I have a strange issue. I am binding a DataGrid with IList. When I try to retrieve the DataRow and try to use its DataContext. In case of some rows the DataRow is either null or DataContext of the DataRow is null. Although a binding item does exists in the IList.
Can anyone please help me on this ? This seems to be strange and ...
-
Hi,
I'm trying to bind the title of the column with a StaticResource. It's doesn't give me any error, but the output of the column is EMPTY. Here my code shows the detail of the issue,
<xcdg:Column FieldName=''countryName''>
<xcdg:Column.Title>
<Binding Converter=''{StaticResource FieldLabelConverter}'' ...
-
Hi all,I have a DataGridControl in XAML. Now to load this datagrid i am creating a DataGridCollectionView in code behind and assigning the DataTable from database to this DataGridCollectionView & using DataGridControl.ItemsSource = DataGridCollectionView . As in my application the data in database keeps on changing so i want to show the new ...
1
|
|
|
|