Welcome to the Xceed Community | Help
Community Search  
More Search Options

Datagrid BringFromView

Sort Posts: Previous Next
  •  02-23-2009, 4:12 PM Post no. 18815

    Datagrid BringFromView

    Hi I´m using the tryal version of the datagrid. I have Entity Data linked to the ItemsSource Property (MM .NET Entity, They highly recomend this control):

    this.DataGrid.ItemsSource = MyEntityList()

    The issue is that when I load the grid there is a navegation option in order to select the first row. It is succesfully selected in the view (I can see it in other controls) but it is not selected in the grid. Much more, when I create a new Entity (new row) the view is correctly selected but it is not Brought to the Grid. Is it a solution to bring the view selection to the grid?

     Thanks.

  •  02-24-2009, 8:50 AM Post no. 18845 in reply to 18815

    Re: Datagrid BringFromView

    If you bind the grid through a DataGridCollectionView, does the same behavior persist?

    DataGridCollectionView view = new DataGridCollectionView( MyEntityList() ) ;

    this.DataGrid.ItemsSource = view; 


    Senior Technical Writer
    - Xceed Software

    In three words I can sum up everything I've learned about life: it goes on.
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.