\Kendo\UI\GridScrollable

A PHP class representing the scrollable setting of Grid.

Methods

endless

If set to true the grid will always display a single page of data. Scrolling to the end will load more items untill all items are displayed.

Returns

\Kendo\UI\GridScrollable

Parameters

$value boolean

Example

<?php
$scrollable = new \Kendo\UI\GridScrollable();
$scrollable->endless(true);
?>

virtual

Configures the grid virtualization settings. If set to true the grid will enable row virtualization and display a single page of data. Scrolling would just change the data which is currently displayed.Can also be set to the following string values: "rows" - enables virtualization of rows.; "columns" - enables virtualization of columns. or "rows, columns" - enables virtualization of both rows and columns..

Returns

\Kendo\UI\GridScrollable

Parameters

$value boolean|string

Example - using boolean

<?php
$scrollable = new \Kendo\UI\GridScrollable();
$scrollable->virtual(true);
?>

Example - using string

<?php
$scrollable = new \Kendo\UI\GridScrollable();
$scrollable->virtual('value');
?>
In this article
Not finding the help you need?