Welcome to the Xceed Community Sign in | Join | Help
Community Search  

Browse by Tags

All Tags » Insertion Row   (RSS)
  • Re: Insertion Row on Details in Master Detail Grid

    Hi Henry, The InsertionRow's DataContext is the System.Data.DataRow (assuming you are using DataTables, otherwise use whatever the type of your data item is). Therefore, you could handle the DetailConfiguration.InitializingInsertionRow event and get the data item there. Something like ...
    Posted to Xceed DataGrid for WPF (Forum) by Jenny on April 30, 2008
  • Re: seamless input from InsertionRow

    If you are referring to the first cell in the InsertionRow, then you will need to handle its Loaded event, preserve a reference to it and then access its Cells collection to place the first cell in edit mode. If you are referring to the first cell in the first datarow, then you will need to use the GetContainerFromItem method to retrieve the ...
    Posted to Xceed DataGrid for WPF (Forum) by Jenny on April 28, 2008
  • Re: question on insertrow

    When working with AutoCreateColumns = false, for the InsertionRow to function property, you will need to manually set CellEditors on the Columns.e.g.:<Column CellEditor=''{x:Static xcdg:CellEditor.TextBoxEditor}'' />  As for your second question, you can find the answer in this thread. 
    Posted to Xceed DataGrid for WPF (Forum) by Jenny on April 27, 2008
  • Re: seamless input from InsertionRow

    You could derive from InsertionRow and override OnPreviewKeyDown like this:     protected override void OnPreviewKeyDown( KeyEventArgs e )    {      base.OnPreviewKeyDown( e );       if( e.Key == Key.Enter  )      ...
    Posted to Xceed DataGrid for WPF (Forum) by Jenny on April 25, 2008
  • Re: Accessing the insertion row in code

    If you want to get a reference to the InsertionRow in the headers of a grid, you will need to handle the InsertionRow's Loaded event and retrieve the reference there.
    Posted to Xceed DataGrid for WPF (Forum) by Jenny on April 22, 2008
  • Accessing the insertion row in code

    Hi,  I want to be able to access an insertion row from C# code. Specifically, from inside a method that handles an event fired from a cell editor control.  In our application, we have a control that allows a user to query the database for a valid value. For example, if they know a product code they may type it in directly, otherwise, a ...
    Posted to Xceed DataGrid for WPF (Forum) by Jonathan on April 22, 2008
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2008 Xceed Software Inc.