dataItem

Returns the data item to which the specified table row is bound.

Parameters

row String|Element|jQuery

A string, a DOM element, or a jQuery object which represents the table row. A string is treated as a jQuery selector.

Returns

kendo.data.TreeListModel—The data item to which the specified table row is bound.

Example - getting the data item to which the first table row is bound

<div id="propertyGrid"></div>
<script>
    $("#propertyGrid").kendoPropertyGrid({
        model: {
            foo: "bar",
            baz: 5
        },
        width: 500
    });

    var component = $("#propertyGrid").data("kendoPropertyGrid");
    var data = component.dataItem("tbody>tr:eq(1)");
      /* The result can be observed in the DevTools(F12) console of the browser. */
    console.log(data.value); // displays "bar"
</script>
In this article