HI
I have a grid with row reorder enabled in bootstrap 4 pop up modal.
I can drag the row but cannot drop the row to another position., It works outside of modal.
Can I know is there anything extra to set or need a hack to allow the dropping of row to reorder them?
My code below:
Note: Datasource is set on document ready script.
<div class="modal fade" id="ServiceDetailModal" role="dialog" aria-labelledby="ServiceDetailModalLabel" aria-hidden="true" data-backdrop="static" data-keyboard="false"><div class="modal-dialog" role="dialog">
<form id="ServiceDetailModalForm" autocomplete="off" >
<div class="modal-content">
<div class="modal-header pb-0">
Services Detail
</div>
<div class="modal-body">
@(
Html.Kendo().Grid<DSPJobServiceItems>()
.Name("modalServiceDetail_ServiceFeeItem")
.Editable(editable => editable.Mode(GridEditMode.InCell))
.Navigatable(true)
.Reorderable(r => r.Rows(true))
.Events(e => e.Edit("ServiceFeeEdit").RowReorder("modalServiceDetail_ServiceFeeItemRowReorder"))
.Columns(columns =>
{
columns.Template("").Width(50).Draggable(true);
columns.Bound(p => p.GeneralServiceTitle).Title("Service Item");
})
)
</div>
<div class="modal-footer">
<button type="button" class="k-button btn-danger">Close</button>
</div>
</div>
</form>
</div>
</div>