When i'm in edit mode I want the cells to have dropdown boxes that are populated from the database with dynamic data.
How is this done ? All I have managed to do is like this
<ej:TreeGridColumn Field="DataElement" HeaderText="✔" EditType="Dropdown">
<ValidationRule>
<ej:KeyValue Key="0" Value="0" />
<ej:KeyValue Key="1" Value="1" />
<ej:KeyValue Key="2" Value="2" />
<ej:KeyValue Key="3" Value="3" />
<ej:KeyValue Key="4" Value="4" />
<ej:KeyValue Key="5" Value="5" />
</ValidationRule>
</ej:TreeGridColumn>
but I need to from the database.