Good morning! I'm trying to bind a XamDataGrid to an ObservableCollection made up of an object derived from a DBContext generated with EntityFramework. Though I am binding the datagrid's Data Source to my Observable Collection, the grid never visually…
Hi,
I want to show different grids based on business criteria with different columns.
The idea is to have a separate UserControl with a grid and in parent page change it(by hiding/showing ).
I tried embedding the grid in user control with no data context…
I'm sure I'm missing something obvious here but I'm trying to migrate the following from the XamGrid to the XamDataGrid.
Here's the XamGrid xaml. You can see that within the template I am binding to two different properties on the…
I am aware of how to bind using INotifyPropertyChanged and raising an event. But I am not able to get the bindings to work as I like in the DataTable Cells that a XamDataGrid is bound to.
For example i have a class CellProperties (see snippet below) and…
I have a XamDataGrid with a ComboBoxField. The ComboBoxField is populated with a list of custom object having 2 important properties: label, ID.The list of custom objects that populates my XamDataGrid also has label and ID properties. How can I get my…
Hello,
recently I am trying to replace some simple XamGrid tables to to XamDataGrid and this seem to get complicated very easily.
for example:
with XamGrid I have 2 TemplateColumns bound to different properties of my viewmodel (It is working properly…
<ig:XamDataGrid Grid.ColumnSpan="2" DataSource="{Binding StudentData}"> <ig:XamDataGrid.FieldLayouts><ig:FieldLayout> <ig:TemplateField Label="Marks" Name="StudentMarks" AllowEdit="True" AllowGroupBy="False" DisplayTemplate…
I tried to follow Tacho's example.
So far I managed to show a ComboBoxEditor in a field with correct data. But once a new items is selected the editor sets the item, but as soon as the editing is finished the item is set to null.
What am I doing…
how can I bind the field width? It seems binding is not working.
<ig:Field Name="Message" Label="Message" Width="{Binding MyWidth}" CellValuePresenterStyle='{StaticResource styleMutltilineCell}'/>
We are dynamically creating the datagrid's fields collection in code. One of the fields is a checkbox. I need to bind the IsEnabled property so that I can disable individual cells based on data values via a converter. Although I see there is a converter…
We're using XamDataGrid v11.2 and we get one BindingExpression path error for each XamDataGrid as it renders. The whole message is:
BindingExpression path error: 'FieldLayout' property not found on 'object' ''GridUserControl' (Name='')'. BindingExpression…
I have a XamDataGrid with a list of equipments, and I need to set a range of columns with DateTime in header (based on a period set by user filter) and a mark on equipment row below the date when the equipment broke down. In my ViewModel I have…
I am unable to bind to a dictionary that is a child collection. Here are my classes
ParentClass
{
string Name,
Dictionary<MyEnum, ChildClass> ChildClasses
}
The Grid Datasource is a List<ParentClass>.
I am trying to bind using…
Hi.
Using XamDataGrid 2011.1
I've googled all the sites and checked Feature Browser for solution, but didn't find.
Given:
XamDataGrid with some unbound fields. Some of the fields are set for "indexer's" properties. Thus, unboundField's BindingPath…
I was trying to use MultiValueConverter with XamGrid. I keep getting unhandled exception at runtime. Find the code below.
<ig:XamGrid RowSelectorClicked="xamGrid1_RowSelectorClicked" RowExpansionChanging="xamGrid1_RowExpansionChanging…
public string ItemID { get; set; } public string UPC_SKU { get; set; } public string StockingUM { get; set; } public decimal Price { get; set; } public decimal Weight { g…
public string ItemID { get; set; }
public string UPC_SKU { get; set; } public string StockingUM { get; set; } public decimal Price { get; set; } public decimal Weight { g…
public string UPC_SKU { get; set; } public string StockingUM { get; set; }
public decimal Price { get; set; } public decimal Weight { g…
I am have an issue (me related) trying to understand how to save all changes in the grid back to the database. I am using table adapters. This should be straight forward but I cannot make it work.
Does anyone have any code they would be willing to share…
Is there an example showing update/insert/delete with the XAMdatagrid. I find the binding xamdatagrid in Expression Blend and VS but that only shows showing records.
I want a full example using the grid and tabeadapters.
Thankyou
Great grid, great example for presenting data.
But I want to save all the changes that the user has made back to the database and I can't figure out how. I am using strongly typed dataset just like int the binding pdf document. But I can't figure…
Hi I have an XamDatagrid with an UnboundField that is an ComboEditor. So when im setting the DataContext of the Page which holds the DataGrid with an ViewModel.
_DetailFenster.DataContext = _ReminderViewModel;
Everything is Binded only the ComboBox…
I need to be able to support a grid which at design time will not have a set number of columns. For example, the app will run, get some data from the server and create some objects. Depending on the response from the server, I may have a…
Hello, I have an Unbound Field in an Xamdatagrid. There should be a Date displayed but in a german order format. So I Changed the Mask from the XamDateTimeEditor. But Now it Only Displays the Day like 11/ / and the month and year are swallowed.
The style…
My application acts like a monitor on a database.Every 5 seconds I'm retrieving the data and setting it to the grid.DataSource.public void SetDataSource(object dataSource){ //Before the data changes we save the selected DataId and the scroller ofset…
(sorry for my bad english)
when i user binding:
xaml:
<Grid Name="Fgrid_bjDetail">
XamTextEditor Name="D_Fxte_Remark" Text="{Binding REMARK}"
</Grid >
code:
Private Sub xdg_ImpForecast_SearchList_MouseDoubleClick…
I have a custom user control ( 'InventoryImageBtn' ) that I'm embedding in an unboud field of my XamDataGrid. I bind it's source to a bound field that contains a path to an image if it exists (in this case the control displays the image), if not…