Completed
Last Updated: 27 May 2021 11:18 by ADMIN
Release 2021.R2.SP.next
Naoufal
Created on: 05 Nov 2019 08:48
Category: Grid
Type: Bug Report
1
Allow for passing any jQuery selector in Kendo UI Sortable for ASP.NET Core

Bug report

The Kendo UI Sortable for ASP.NET Core assumes that all selectors are by "id".

Reproduction of the problem

1. Set the .For() option of the Sortable widget to a class selector:

@(Html.Kendo().Sortable()
    .For(".k-grid table")
    // . . . 
)

2. Inspect the page source.

3. The following string is rendered:

<script>
    kendo.syncReady(function () { jQuery("\\.k-grid table").kendoSortable(// options) });
</script>


Expected/desired behavior

The Sortable widget should allow for passing any jQuery selectors.

Environment

* **Kendo UI version:** 2019.3.1023
* **jQuery version:** 1.12.4
* **Browser:** [all] 

0 comments