Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
146245 | Jul 28,2019 01:17 PM UTC | Jul 30,2019 05:46 AM UTC | ASP.NET Core - EJ 2 | 3 |
![]() |
Tags: DataGrid |
@{
var DropDownList = new Syncfusion.EJ2.DropDowns.DropDownList() { BeforeOpen = "beforeOpen" };
}
<ejs-grid id="grid" height="100%" width="100%" dataSource=ViewBag.data>
<e-grid-editSettings allowEditing="true"></e-grid-editSettings>
<e-grid-columns>
. . .
<e-grid-column field="ShipCountry" headerText="Ship Country" width="150" editType="dropdownedit" edit="new {@params = DropDownList }"></e-grid-column>
</e-grid-columns>
</ejs-grid>
<script>
function beforeOpen(e) {
this.popupWidth = "300px";
}
</script> |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.