datatable reorder modal open problem

datatable reorder modal open problem

ogulcanerdincogulcanerdinc Posts: 1Questions: 1Answers: 0
edited December 2018 in Free community support

hello my friend.
edit does not work when I reorder and respond to the table.he doesn't count on the button.

                    <th>TC NO</th>
                    <th style="width:5%">Sil</th>
                    <th style="width:5%">Düzelt</th>
                    <th style="width:5%">Seçmen Detay</th>
            @foreach (var Secmen in Model)


                    <td><a href='/Secmen/SecmenSil/@Secmen.ID' class='btn btn-shadow btn-group-md' onclick="return confirm('@Secmen.TCNo TC Numaralı @Secmen.Ad @Secmen.Soyad İsim Soyisimli Kişiyi Silmek İstediğinizden Emin Misiniz?');"><span class="fas fa-trash-alt"></span></td>

                    <td><a data-id="@Secmen.ID" class="btn btn-shadow  btn-md" /><i class="fas fa-edit"></i></td> //edit here.
                    <td><a href="/SecmenDetay/SecmenDetay/@Secmen.ID" class="btn btn-shadow btn-group-md" id="btn-update" /><i class="fas fa-search"></i></td>
        @Html.PagedListPager(Model, _sayfaNo => Url.Action("Secmen", "Secmen", new { SayfaNo = _sayfaNo }))


    (document).ready(function () {
        ('.table').on('click', 'btn-md', function () {            
                var table = ('#table').DataTable({
                    "language": {
                        "url": "//",

                    "pageLength": 100,
                    'iDisplayLength': 100,
                    "paging": false,
                    "ordering": false,
                    rowReorder: {
                        selector: "td:nth-child(3)"
                    responsive: true,
                   "renderer": $.fn.dataTable.Responsive.renderer.tableAll({
                        tableClass: 'table'



  • colincolin Posts: 4,679Questions: 0Answers: 820

    Hi @ogulcanerdinc ,

    Is this editing with Editor, or your own editing code? I can't see any mention of Editor there.

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.



Sign In or Register to comment.