The isEmpty() method of DayPilot.Row is available since client core version 2759. It's now available in the sandbox version of DayPilot Pro for ASP.NET MVC:
https://mvc.daypilot.org/sandbox/
The latest sandbox build (8.4.5882) now also includes RowFilterJavaScript property which translates to onRowFilter event.
The MVC version of the empty row hiding sample (https://code.daypilot.org/97960/html5-scheduler-hiding-rows-without-events) would look like this:
<div class="space"><label><input type="checkbox" id="hide"> Hide rows without events</label></div>
@Html.DayPilotScheduler("dp", new DayPilotSchedulerConfig {
// ...
RowFilterJavaScript="rowFilter(args);"
})
<script>
function rowFilter(args) {
var hideEmptyRows = args.filter;
args.visible = !hideEmptyRows || !args.row.events.isEmpty();
}
$(document).ready(function () {
$("#hide").click(function () {
var hideEmptyRows = $(this).is(":checked");
dp.rows.filter(hideEmptyRows);
});
});
</script>
Please let me know if there is any problem.