Trigger telerik edit/update/create actions with external button click

4 posts, 0 answers
  1. Andrés
    Andrés avatar
    6 posts
    Member since:
    Aug 2015

    Posted 24 Sep 2015 Link to this post

    Recently I've been working with telerik devcraft for the last couple of weeks, I'm interested in using the grid controller to display data, I've reached the point where I'm working with CRUD operations and I need to led the user make delete, create and edit operations of the displayed rows my client really doesn't like the way the controller displays the edit and delete buttons next to the rows, he would like to be available to invoke the edit and delete operations via external html buttons on the bottom of the page

     

     

  2. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2156 posts

    Posted 25 Sep 2015 Link to this post

    Hello Andrés,

    You could achieve this task by invoking the Grid API methods when the external buttons are clicked:

    editRow - http://docs.telerik.com/KENDO-UI/api/javascript/ui/grid#methods-editRow
    removeRow - http://docs.telerik.com/KENDO-UI/api/javascript/ui/grid#methods-removeRow
    saveRow - http://docs.telerik.com/KENDO-UI/api/javascript/ui/grid#methods-saveRow

    Regards,
    Dimiter Madjarov
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Andrés
    Andrés avatar
    6 posts
    Member since:
    Aug 2015

    Posted 25 Sep 2015 in reply to Dimiter Madjarov Link to this post

    Hi, 

    It doesn't work properly it turns out than when the user selects a row and then presses the edit/new button it creates a loop that locks the create/edit popover. on this point is impossible to either create or edit a row 

  5. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2156 posts

    Posted 28 Sep 2015 Link to this post

    Hello Andrés,

    From the provided screenshot it is not clear what is the reason for the described behavior. Please send us small isolated runnable example that demonstrates it, so we could inspect it and provide assistance.

    Regards,
    Dimiter Madjarov
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top
UI for ASP.NET MVC is VS 2017 Ready