| Emp ID | First Name | Designation |
|---|
| @((context as EmployeeData).EmployeeID) | @((context as EmployeeData).FirstName) | @((context as EmployeeData).Designation) |
|
<SfComboBox TValue="string" TItem="EmployeeData" Placeholder="Select an employee" CssClass="e-multi-column" Width="200px" PopupHeight="500px" PopupWidth="500px" AllowFiltering="true" DataSource="@Data">
<ComboBoxTemplates TItem="EmployeeData">
<HeaderTemplate>
<table><tr><th class="e-text-center combo-width">Emp ID</th><th>First Name</th><th>Designation</th></tr></table>
</HeaderTemplate>
<ItemTemplate>
<table><tbody><tr><td class="e-text-center combo-width">@((context as EmployeeData).EmployeeID)</td><td>@((context as EmployeeData).FirstName)</td><td>@((context as EmployeeData).Designation)</td></tr> </tbody></table>
</ItemTemplate>
</ComboBoxTemplates>
<ComboBoxFieldSettings Text="FirstName" Value="EmployeeID"></ComboBoxFieldSettings>
</SfComboBox>
|
|
|