Browse By Tags

  • Recalculate row height

    I have an xamDataGrid set up to be used like a list. The row heights are set to dynamic. The fields are styled to contain embedded custom user controls. When contents of these controls change, I need the row height to be re-evaluated. The grid is not…

  • Saving Cell Appearance (Foreground, FontStyle, FontFamily, HorizontalContentAlignment) using Persistence Framework or Save/LoadCustomization

    Hi everyone,

    I’m currently working with the XamDataGrid and looking for a way to save and load appearance-related settings (for example Foreground, FontStyle, FontFamily, and HorizontalContentAlignment of cell values).

    I’m aware that the

  • XamDataGrid: Horizontal scroll but with fixed row numbers

    Hello,

    I have a XamDataGrid with this code:

    <igDP:XamDataGrid
        x:Name="MyDataGrid"
    	DataSource="{Binding Path=MyDataGridItems}"
        >
        <igDP:XamDataGrid.FieldLayoutSettings>
            <igDP:FieldLayoutSettings
                FilterUIType="LabelIcons…

  • Slow Performance of Summary Calculation

    I have around 5000 + records. The data grid works fine without the summary calculation turned on. When the Summary Calculation is turned on (e.g. Count) and there is another intake of data (5000 records at a interval), the application freeze for a long…

  • XamDataGrid keyboard tab/enter behavior inconsistent, possibly cursors?

    I am using WPF 25.1.22. I have the following XamDataGrid and all is well but I have some people who want to use the keyboard for toggling the checkbox column. What I'm seeing is that when I use the tab key to move between fields, when I tab to the checkbox…

  • How to export XamDataGrid hierarchical and filtered records to Excel

    Using XamDataGrid V15.1, we are facing the problem that hierachical data will not be exported as shown in the grid when there is an active filter.

    For the grid we have set FilterResultsDisplayMode="ShowWithAncestors" and the result the grid looks fine…

  • xamdatagrid paging or lazy load - performance optimization

    i have a hierarchal xamdatagrid (infragistic)grid.

    For example my Data, where each level can have N level.
    I want to add paging/load the data on scroll. Could you please give us sample code and best practices to achieve it.

     

    Also, each column has filter…

  • XamDataGrid DataSource binds correctly but no data is showing

    I have this xamDataGrid:

    <igDP:XamDataGrid DataSource="{Binding ResultadosDesviacionesGastosAprobados}" IsGroupByAreaExpanded="True">
    <igDP:XamDataGrid.FieldLayoutSettings>
    <igDP:FieldLayoutSettings AutoGenerateFields=…

  • Installing Control Configurator in Visual studio 2022

    Is there a version of the Control Configurator for  Visual Studio 2022? I installed the one available here 

    Infragistics Control Configurators - Visual Studio Marketplace

    But it does not appear with the other extensions  and I cannot use Visual studio 2019…

  • XamDataGrid bind to strings and validate

    I'm using WPF 24.2. I'm binding a XamDataGrid to an ObservableCollection<string> and I want to use IDataErrorInfo (or INotifyDataErrorInfo). It's loading but when I try to edit a string, it doesn't seem to be saving (the old value comes back). I'm sure…

  • Different Headers on XamDataGrid Report Pages

    I'm using Infragistics WPF 24.2.53 with .NET 8. I want to print a report with a XamDataGrid but have a different header on the first page than on the subsequent pages. Is this possible? I looked at the VisualPaginator and the PageHeaderTemplateSelector…

  • Show page number on pages with PageContentTemplate in Report?

    I'm using the reporting library to create a print report. Some pages I'm printing a grid only, and for other pages I'm using PageContentTemplate to set a DataTemplate on the page.

    All of the pages have a footer DataTemplate that prints the…

  • Error styling datagrid fields

    I have these styles that work perfectly on a regular datagrid:

    <Style x:Key="DataGridColumnStyle" TargetType="TextBlock">
    <Style.Triggers>
    <Trigger Property="Validation.HasError" Value="True">

  • Cannot bind XamDataGrid with observablecollection with existing items

    I use MVVM pattern and the viewmodel populates anb observablecollecction called GastosInforme defined: 

      public ObservableCollection<GastoInformeWrapper> GastosInforme { get; }

    the xamdatagrid is defined as follows:

    <igDP:XamDataGrid Name="grid…

  • Element not Found Exception when Printing XamDataGrid

    I'm using Infragistics WPF 24.1.39 on Windows 11.

    I'm getting a weird error printing my XamDataGrid.

    Here's my code:

    using InfReporting = Infragistics.Windows.Reporting;

    ...

    report.ReportSettings.RepeatType = InfReporting.RepeatType.PageB…

  • XamDataGrid last added item is duplicated (just visual)

    Hello,

    I have a XamDataGrid bound to an ListCollectionView (which has an underlying CollectionViewSource that is referencing an ObservableCollection).

    When I add an item and update the ObservableCollection then the last added item is duplicated in the…

  • Add filter to MultiSelectExcelStyle Filte

    I'm using Infragistics 24.1.I have a XamDataGrid with MultiSelectExcelStyle filters. I have set the NullText on XamTextEditors to display "None" when the value in my datasource is null or DBNull.Value. I want "None" to display in the list of check…

  • SimpleTextBlock throws exception if second line has more than 9600 characters

    Hello team,

    We are confronted with an interesting behavior that was explicitly programmed into the SimpleTextBlock and causes problems in our program.

    If the second line of a SimpleTextBlock is longer than 9600 characters and TextWrapping is set to NoWrap…

  • Regarding FieldChooser selection, get the selected item from from the field chooser

    How to get below lines of code  along with XamDataGrid  I want to get the selected item from FieldChooser. What is namespace required for the same 

    <igDP:XamDataGrid.FieldChooserSettings>
                    <igDP:FieldChooserSettings IsOpen="{Binding…
  • Substitute image for checkbox in xamDataGrid CheckboxField

    I'm working on a solution to a specific problem and running into an issue that I can't figure out. I am binding a boolean property to my xamDataGrid using a CheckBoxField and would like to utilize images as true/false indicators, rather than the default…

  • How to Optimize MultiSelect of > 8000 Records

    In our program we have the possibility to select all records with CTRL + A. It can happen that more than 8000 records are selected.

    To make sure that the records are really selected in the UI, we have to execute the code as follows...

    foreach (var record…

  • XamDataGrid select Filter by default/programatically

    I'm working with a XamDataGrid and have configured my Filters as desired. I've re-labeled the "(NonBlanks)" filter as "All" and would like this filter to be selected by default, but can't find an easy way to accomplish this. I was hoping to connect an…

  • Styling XamDataGrid DragDrop Indicators

    I'm adjusting the XamDataGrid style to our products needs. The datagrid itself is very straight forward. 

    How can I style the drag and drop related things like the border when dragging a column over the groupy by area or the insertion arrows when reordering…

  • XamDataGrid Filter Textbox is not enabled

    The grid is displaying the filter textbox, but not allowing data to be entered. It is working as expected in other projects so I'm looking for reason filter textbox is not enabled.

    Here is my Xaml code (the backing data is an observable collection…

  • Decimal separator in XamDataGrid

    I've made a xamdatagrid that displays some values, these values are floats with 2 numbers after the comma. When i run this program on my laptop, it uses a dot to present the separator in the values. (example: 4.00). However when i run this same program…