HI
dataBound
Fired when the widget is bound to data from its data source.
But why the Destroy command trigger the dataBound event too ???
*XXXXX_Read method not executed while the Destroy command clicked.
--
Incell mode
@(Html.Kendo().Grid<MyCompany.Entity.Models.TXXXXX>)
.Name("XXXXXGrid")
...
.Pageable(pageable => pageable.Enabled(false))
.Columns(columns =>
{
...
columns.Command(command => command.Destroy().Text("Delete")).Width(100);
})
.DataSource(dataSource =>
{
dataSource
.Ajax()
.Batch(true)
//.PageSize(GridConst.PAGE_SIZE)
.Model(model =>
{
model.Id(m => m.UniqueID);
})
.ServerOperation(false)
.Read(read => read.Action("XXXXX_Read", "XXX").Data("xxxxx.filterXXXXXGrid"))
.Events(events =>
{
...
});
})
.Events(events =>
{
events.Change("xxxxx.XXXXXGrid_Change");
events.DataBound("xxxxx.XXXXXGrid_DataBound");
events.Edit("xxxxx.XXXXXGrid_Edit");
})
.HtmlAttributes(new { @style = "height: 100%; min-height: 180px" }))
*Visual Studio 2015
*Telerik DevCraft 2017.2.621.545 (UI for ASP.NET MVC).
Best regards
Chris