Home Forums WPF controls Xceed DataGrid for WPF IBindingList.ListChanged Reset (V1.1)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #23092 |

    Hi,
    I am binding the ItemSource of a the grid to my custom IBindingList object. When the IBindingList raises the ListChanged event with a ListChangedType of Reset, the grid only asks for the first column of data, for the visible rows. And column 1 doesn’t redraw either (Visible cells are stale). Wrapping my IBindingList with a DataGridCollectionView object did not solve the problem. If I drop the V1.0 grid back in with no other code changes, everything redraws when the event is raised.

    Any ideas?

    Thanks,
    Bill

    Xaml looks like this:

    <xcdg:DataGridControl
    xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation&#8221;
    xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml&#8221;
    xmlns:xcdg=”http://schemas.xceed.com/wpf/xaml/datagrid&#8221;
    xmlns:ds=”clr-namespace:Desktop.Controllers.DataSource;assembly=Desktop.Controllers”
    xmlns:local=”clr-namespace:Desktop.WpfControls”
    x:Class=”Desktop.WpfControls.DesktopGridXceed”
    Width=”Auto” Height=”Auto”
    CellEditorDisplayConditions=”Always” ValidationMode=”CellEndingEdit”>

    <xcdg:DataGridControl.Resources>
    </xcdg:DataGridControl.Resources>

    <xcdg:DataGridControl.DefaultCellEditors>
    <xcdg:CellEditor x:Key=”{x:Type ds:DesktopField}”>
    <xcdg:CellEditor.EditTemplate>
    <DataTemplate>
    <StackPanel Name=”sp”>
    <local:DesktopControl Name=”smarty”>
    </local:DesktopControl>
    </StackPanel>
    </DataTemplate>
    </xcdg:CellEditor.EditTemplate>
    </xcdg:CellEditor>
    </xcdg:DataGridControl.DefaultCellEditors>

    </xcdg:DataGridControl>

    Imported from legacy forums. Posted by Bill (had 1872 views)

    User (Old forums)
    Member
    Post count: 23064

    Hi,

    We are not able to reproduce the problem you describe. If you could provide us with a simple repro app, that would be appreciated!

    Thank you!

    Imported from legacy forums. Posted by Pascal (had 2897 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.