Home Forums WinForms controls Xceed Grid for WinForms Re: Fixed Footer Row Reply To: Re: Fixed Footer Row

User (Old forums)
Member
Post count: 23064

More detail.  Here’s my version of the code:

            theGrid.FixedFooters.Add(new TextRow(“Fixed Footer”));

Compiling that leads to:

 Error    4    ‘Xceed.Wpf.DataGrid.DataGridControl’ does not contain a definition for ‘FixedFooters’ and no extension method ‘FixedFooters’ accepting a first argument of type ‘Xceed.Wpf.DataGrid.DataGridControl’ could be found (are you missing a using directive or an assembly reference?)    C:\work\Everest\UI\MBSAllocationModelViewApplication\Views\CapitalMoveView.xaml.cs    76    29    MBSAllocationModelViewApplication
Error    5    The type or namespace name ‘TextRow’ could not be found (are you missing a using directive or an assembly reference?)    C:\work\Everest\UI\MBSAllocationModelViewApplication\Views\CapitalMoveView.xaml.cs    76    50    MBSAllocationModelViewApplication

I hacked around some and managed to find a way that might add FixedFooters:

         theGrid.View.FixedFooters.Add(new TextRow(“Fixed Footer”));

But that still fails on not knowing what TextRow is.

Here are the current “using” statements:

 

using Xceed.Wpf.Controls;
using Xceed.Wpf.DataGrid;
using Xceed.Wpf.DataGrid.Converters;
using Xceed.Wpf.DataGrid.Views;
using Xceed.Wpf.DataGrid.ValidationRules;
using Xceed.Wpf.DataGrid.Stats;

Imported from legacy forums. Posted by David (had 401 views)