Kendo Grid Expand Row After Save or Edit Detail Grid

Dalam kasus ini id dari row yang akan di expand di simpan dalam viewbag.

function gridOnDataBound(e) {     
            e.sender.tbody.find("tr[role=\"row\"]").each(function (i) {
                var model = e.sender.dataItem(this);
                if (model.Id == "@ViewBag.ActualId") {
                    grid.expandRow(this);
                }
            });
            dataBoundTooltip(e);
        }

Santi has written 5 articles

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>