in
Forums
Blogs
Files
Devexpress.Com
Client Center
Support Center
DevExpress Channel

GridMultiEditors with XAF

Last post 5/14/2007 4:32 AM by Dan (Developer Express). 1 replies.
Page 1 of 1 (2 items)
Sort Posts:
Previous Next
  • 5/11/2007 11:50 AM

    GridMultiEditors with XAF

    Hi,

    i need an inplace-editable ListView where the editors for a specific column are different because of the values for this property must be of different types.

    To get this working i have a class DokuValueBase from which i derive DokuValueString, DokuValueNumeric, DokuValueChoice and so on. The DokuValueBase also has an DokuValueDef which for example defines the default value and an array of values if the output must be chosen from a fixed valuelist. Then i tried to write an PropertyEditor which in CurrentObjectChanged() choses the edit depending on this.CurrentObject.GetType(). But i have no idea how to replace the shown editor.

    What i want is somewhat like your example GridTutorials-GridMultiEditors where you use the CustomRowCellEdit-event, but this don't works in XAF i think.

    Can you give me a hint how to get this working?

    Thanks

    Daniel

    Filed under:
  • 5/14/2007 4:32 AM In reply to

    Re: GridMultiEditors with XAF

    Hello Daniel
     
    >What i want is somewhat like your example GridTutorials-GridMultiEditors where you use the CustomRowCellEdit-event, but this don't works in XAF i think.
     
    This approach should work. Write to us if you encounter problems.

    Thanks, Dan
    R&D, .NET Team Developer Express Inc.

    PS. If you wish to receive direct assistance from our Support Team, use
    Support Center at http://www.devexpress.com/Support/Center
Page 1 of 1 (2 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED