Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
140765 | Nov 6,2018 09:28 AM UTC | Nov 7,2018 05:33 AM UTC | ASP.NET MVC | 1 |
![]() |
Tags: Grid |
@Html.EJ().Button("button").Text("Hide Row").Size(ButtonSize.Normal).ShowRoundedCorner(true).ClientSideEvents(eve => eve.Click("hiderow"))
@(Html.EJ().Grid<object>("Editing")
.Datasource((IEnumerable<object>)ViewBag.datasource)
---------
.AllowPaging()
.Columns(col =>
{
--------
}))
<script type="text/javascript">
function hiderow(args) {
var obj = $(".e-grid").ejGrid("instance");
var row = obj.getSelectedRows();
row.hide();
}
</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.