angularjs-ej1-demos/grid/celledittype.html

21 строка
1.1 KiB
HTML

<div ng-controller="PhoneListCtrl">
<div class="content-container-fluid">
<div class="row">
<div class="cols-sample-area">
<div id="celledittype" ej-grid e-datasource="data" e-editsettings="editSetting" e-toolbarsettings="toolbarSetting" e-allowpaging="true">
<div e-columns>
<div e-column e-field="OrderID" e-headertext="Order ID" e-isprimarykey="true" e-textalign="right" e-width="75"></div>
<div e-column e-field="CustomerID" e-headertext="Customer ID" e-width="80"></div>
<div e-column e-field="EmployeeID" e-headertext="Employee ID" e-textalign="right" e-edittype="dropdownedit" e-width="75"></div>
<div e-column e-field="Freight" e-headertext="Freight" e-textalign="right" e-format="{0:C}" e-edittype="numeric" e-width="75"></div>
<div e-column e-field="OrderDate" e-headertext="Order Date" e-format="{0:MM/dd/yyyy}" e-textalign="right" e-width="80"></div>
</div>
</div>
</div>
</div>
</div>
</div>