Browse By Tags

  • XamDataGrid datasource on field

    I Have a method that add extra colums on a datagrid but I there is no data in it how can I add a DataSoure to the field. there are already a other datasource set on the grid  ?

    private void konkurrenter_SelectedItemChanged(object sender, RoutedPropertyChangedEventArgs…

  • Setting Mask to 'yyyy-mm-dd' of XamDataGrid's Field does work but 'dd-MMM-yyyy' does NOT work and shows blank field.

    Here are both the situations...

    Please suggest what should i do to make "" working.

    Working

    <igDP:Field Name="PerformedDtm" Row="0" Column="2" Width="Auto" Label="OriginalDate">
    <igDP:Field…

  • Field label template is not being displayed in the sorted column header

    I'm using a XamDataGrid and customizing my field layout so I can insert a checkbox into the header label. Then I'm sorting the field so I have multiple sections, and I end up wth the checkbox only displaying in one of the two grid headers. Not sure how…

  • Color XamDataGrid Cells dynamically from object property

    Hello,

    I have a XamDataGrid that is bound to a collection of custom objects.  Each object contains a dictionary that acts as a holder for dynamic selected data.

    public Dictionary<string,RowData> m_pricingData = new Dictionary<string, RowData>();
    
    	…

  • Xamdatagrid field visibility

    I am trying to hide the column from the data grid by changing the visibility value of the field but, the column is still there as a placeholder, only the data on it goes invisible. 

    What am I missing ? 

     <infragistic:XamDataGrid Grid.Row="1" DataSource…

  • How to change visibility of column dynamically in xamdatagrid

     

    <CheckBox IsEnabled="{Binding ShowGuideWeight}"></CheckBox>
    
    <infragistic:XamDataGrid Grid.Row="1" DataSource="{Bindng LogList }" PreviewKeyDown="DataGrid_PreviewKeyDown" Name="InputGlobalWellsDataGrid"
                                GroupByAreaLocation…

  • Set Background color of one field/column in xamDataGrid only if it is editable

    Trying to find a way to set the background color when a field is editable. If I just set the AllowEdit property to true/false then I can do what I want.

    However, I need to bind the AllowEdit property to a property in my view model. Not matter what I've…

  • Field styling with CellValuePresenter what item is used for editing ?

    Hi,

    I have the following scenario:

    XamDataGrid with some fields, and some of these fields has the following Style:

    <igDp:Field Name="Description" Label="Description" IsScrollTipField="True"  Width="3*">
            <igDp…

  • XamDataGrid Field not working, need to use UnboundField

    Hi,

    Hope you can help me.

    My XamDataGrid settings are:


    <igDP:FieldSettings AllowRecordFiltering="False" AllowEdit="False" Width="Auto" AutoSizeScope="AllRecords" />

    <igDP:FieldLayoutSettings AutoGenerateFields…

  • Changing value displayed in field if it equals a specific value

    I am currently having an issue with a XamDataGrid Field.  I am trying to detect when it contains a specific value and, when it does, change the Field to display blank.

     

      <igDP:Field Name="BeginDate" Label="Begin Date">

  • Storing only Field Width

    In our application we want to persist only the width changes in a grid instead of all changes.  From what I can tell there is no way to direct SaveCustomizations, it always saves width, visibility, sorting, grouping etc.

    I have been able to subscribe…

  • How to Programmtically Select Field/Column.

    Hi,

      I have enabled the field selection in xaml like this:

    <igDP:XamDataGrid.FieldSettings>
                                <igDP:FieldSettings LabelClickAction="SelectField"/>
     </igDP:XamDataGrid.FieldSettings>

     

     I can select the field/Column from UI by…

  • FieldPositionChanged isn't fired

    When setting field visibility in code like this:

    FieldLayouts[0].Fields["FieldName"].Visibility = Visibility.Collapsed;

    FieldPositionChanged event isn't fired. When changing field visibility by using FieldChooser everything is OK.

  • Persisting fields width (custom solution)

    Hi. I need to write custom logic for persisting fields width. It's a pity but there is no event (or I didn't find it) in XamDataGrad such as FieldResized or something like this. But, I've found a solution from Josh Smith (it's here ).…

  • DataGrid - No columns - notification

    Hi all,

    I'm developing an app that uses XamDataGrid and when setting the data grid's fields to point to my properties from my model or VM, sometimes I type the property names wrong in the XAML field definitions section, so when running the app…

  • Add a custom object to a field

    Hi, I need to add a textblock made in execution time. I saw the help http://help.infragistics.com/Help/NetAdvantage/WPF/2009.1/CLR3.5/html/xamData_Embedding_a_Custom_Control_in_a_Field.html

    but there is only 1 property bind support (button.content),…

  • Different itemsources with a XamComboEditor on a cell

    I want to bind a XamComboEditor to a Cell, where each cell in a row has a different set of data in the combobox, in C# code.

     

    I use a ComboBoxItemsProvider, Fieldsetting and style to set a fieldsetting of a particular cell, through the 'InitializeRecord…

  • Auto-arrange Field-Width by DataContent

    Hey Guys,

    I would like to auto-arrange the width of the columns in a DataGrid depending on the Content of the Columns.

    I found a way to do that for 1 Culomn in the CodeBehind:

    myDatagrid.DefaultFieldLayout.Fields[

    "Name"].Width =

    F…

  • Hidden Fields

    Hi

    I have the following problem:

    I initialize XamDataGrid layout in code-behind in FieldLayoutInitializing event handler. Some of the fields are defined as Hidden right from the start, but can be Unhidden by the user in run-time. The problem is when…

  • Field visibility

    Hi

    Is there some way to bind the field.Visibility property to the data in my business object?

    Thanks

  • Change Field width

    I implement fields auto-size logic. When desired width calculated, it's applied for field:

    field.Settings.CellWidth = field.Settings.LabelWidth = width;

    This code works perfect when for examle underlying data changed. But when user manualy change field…

  • XamDataGrid 101, Part 1 - Blend-Savvy Overview

    The premier control of the WPF NetAdvantage suite is definitely the XamDataGrid. The Infragistics data grid trumps all similar type of controls everywhere. Not only do I get paid to say that, but as a user of our controls I have found the XamDataGrid…