Grid editing template with type different from what's being bound

1 posts, 0 answers
  1. Stéphan Parrot
    Stéphan Parrot avatar
    70 posts
    Member since:
    Apr 2010

    Posted 30 Jul 2012 Link to this post

    Hi people,
    I'd like to know if it's possible to automatically get a popup window in editable mode that is bound to a different model than the one bound to the grid.

    LEt's say I have a grid bound to a model named UserModel which exposes only 4 properties but when creating a new user, I have several values I want to enter to create a valid user.
    Let's name this model CreateUserModel.
    When I click in the Create button in the toolbar of the grid, a popup is generated based on the attributes I've setup on the UserModel but I would love to know if it's possible to have that popup generated from the CreateUserModel instead!

    Regards,
Back to Top