Home Forums WPF controls Xceed DataGrid for WPF Adding a Command Button for Edit to each row

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

    I have a grid that acts as a read only view of data. I want the user to be able to press a button on each row that would take the user to another screen to be able to edit that row of data.

    I was hoping someone has an example of adding a button to each row for this. I’ve added my columns via C# code (not XAML) so I’m hoping I can get an example of this using C# code…

    Thanks in advance.

    Greg

    Imported from legacy forums. Posted by Greg (had 2912 views)

    User (Old forums)
    Member
    Post count: 23064

    /bump

    I’m looking for something similar. Has anyone done anything like this?

    thanks in advance, too

    Imported from legacy forums. Posted by Jack (had 485 views)

    Xceed Support
    Member
    Post count: 5658

    What you need to do is Change the ControlTemplate for the DataRow class….

    This can be done by creating an implicit style for DataRow and affect your customized ControlTemplate.

    You can start with the ControlTemplate availlable in the Xceed DataGrid for WPF 1.1\Themes folder.

    Imported from legacy forums. Posted by Marcus [Xceed] (had 214 views)

    User (Old forums)
    Member
    Post count: 23064

    Did anyone get an example of this operative ?

    Dezzz

    Imported from legacy forums. Posted by Desmond (had 3830 views)

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