How to delete and update dependency in Gantt?

2 posts, 0 answers
  1. Antonio
    Antonio avatar
    11 posts
    Member since:
    Sep 2012

    Posted 28 Jan Link to this post

    How can I delete and update a dependency in Gantt?...  What actions should I take?..  i don't see buttons (for delete) or forms (for edit)


    Also... this is correct for the Gantt's functionality?


    <div id="URLEliminarDependencia" data-request-url="@Url.Action("EliminarDependencia", "EventoProgramadoes", new { IdCronograma = ViewData["IdCronograma"] })"></div>


    var dependenciesDataSource = new{
            transport: {
                read: {
                    url: $('#URLObtenerDependencias').data('request-url'),
                    dataType: "jsonp"
                update: {
                    url: $('#URLActualizarDependencia').data('request-url'),
                    dataType: "jsonp"
                destroy: {
                    url: $('#URLEliminarDependencia').data('request-url'),
                    dataType: "jsonp"

                create: {
                    url: $('#URLCrearDependencia').data('request-url'),
                    dataType: "jsonp"
                parameterMap: function (options, operation) {
                    if (operation !== "read") {
                        return { models: kendo.stringify(options.models || [options]) };






         public JsonResult EliminarDependencia(int IdCronograma)
                var models = this.DeserializeObject<IEnumerable<GanttDependencyModel>>("models").ToList();

                ---more code---
                return this.Jsonp(models);

  2. Bozhidar
    Bozhidar avatar
    1096 posts

    Posted 29 Jan Link to this post


    In order to delete a dependency, you must click on it to select it, and afterwards press the delete key on the keyboard.

    As for the controller methods, you can see their implementation in the code section of the following demo:

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top