\Kendo\UI\GridNoRecords

A PHP class representing the noRecords setting of Grid.

Methods

template

The template which is rendered when current view contains no records.

Returns

\Kendo\UI\GridNoRecords

Parameters

$value string|\Kendo\JavaScriptFunction

Example - using string

<?php
$noRecords = new \Kendo\UI\GridNoRecords();
$noRecords->template('value');
?>

Example - using \Kendo\JavaScriptFunction

<?php
$noRecords = new \Kendo\UI\GridNoRecords();
$noRecords->template(new \Kendo\JavaScriptFunction('function() { }'));
?>
In this article
Not finding the help you need?