select

Gets or sets the table row which is selected.

Parameters

row String|Element|jQuery

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

Returns

jQuery the selected table row.

Example - select the first table row.

<div id="gantt"></div>
<script>
$("#gantt").kendoGantt({
  dataSource: [
    {
      id: 1,
      orderId: 0,
      parentId: null,
      title: "Task1",
      start: new Date("2014/6/17 9:00"),
      end: new Date("2014/6/17 11:00")
    }
  ]
});
var gantt = $("#gantt").data("kendoGantt");
gantt.select("tr:first");
</script>
In this article
Not finding the help you need? Improve this article