Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
141544 | Dec 17,2018 01:40 PM UTC | Dec 18,2018 11:12 AM UTC | ASP.NET MVC - EJ 2 | 3 |
![]() |
Tags: Grid |
...
@Html.EJS().Grid("Grid").DataSource((IEnumerable<object>)ViewBag.datasource).Columns(col =>
{...
}).AllowPaging().CellEdit("cellEdit").EditSettings(edit => { edit.AllowAdding(true).AllowEditing(true).AllowDeleting(true).Mode(Syncfusion.EJ2.Grids.EditMode.Batch); })...}).Render()
<script>
function cellEdit(args){
setTimeout(function selectText() {
this.cell.querySelector('input').select();
}.bind(args), 0);
}
</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.