Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 84751

Kendo Grid removeRow not deleting rows of other pages

$
0
0

Hi 

I have a grid with check box, on checking the checkbox and clicking a button on the screen, i want to remove the selected row.

i am using the below code, everything works fine if i have only one page but if i have multiple pages in grid, the other pages selected rows are not deleted.

This code is written in the click event of button.

        var grid = $("#grdSelect").data("kendoGrid");

        grid.tbody.find("input:checked").closest("tr").each(function (index) {
            grid.removeRow($(this).closest('tr'));
        });
        grid.refresh();

Please help.


Viewing all articles
Browse latest Browse all 84751

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>