<?php
require_once '../lib/Kendo/Autoload.php';
?>
<div class="demo-section k-content">
<div class="k-rtl">
<h4>RTL DropDownList</h4>
<?php
$dropDownList = new \Kendo\UI\DropDownList('input');
$dropDownList->dataTextField('text')
->dataValueField('value')
->dataSource(array(
array('text' => 'Item 1', 'value' => '1'),
array('text' => 'Item 2', 'value' => '2'),
array('text' => 'Item 3', 'value' => '3')
))
->attr('style', 'width: 100%');
echo $dropDownList->render();
?>
</div>
</div>