Events
You can subscribe to all TaskBoard events and then use them to further customize the behavior of the TaskBoard.
The example below demonstrates how to subscribe to the DataBound
and the ColumnDataBound
events.
@using Kendo.Mvc.UI
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
// omitted for brevity
.Events(ev =>
{
ev.ColumnsDataBound("onColumnDataBound");
ev.DataBound("onDataBound");
})
)
<kendo-taskboard
name="taskBoard"
on-columns-data-bound="onColumnDataBound"
on-data-bound="onDataBound" >
<!-- full configuration omitted for brevity -->
</kendo-taskboard>
function onColumnDataBound(e) {
console.log("event: ColumnDataBound", e);
}
function onDataBound(e) {
console.log("event: DataBound", e);
}