Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9325267
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 19, 20262026-06-19T04:47:40+00:00 2026-06-19T04:47:40+00:00

I have an example, a kendo ui grid is added with Backbone.js. In the

  • 0

I have an example, a kendo ui grid is added with Backbone.js. In the kendo ui grid I have a buttons to remove rows, but the buttons don’t work on mobile devices. If I press a button repeteadly, it sometimes works. Why?
I declare the button in kendoGrid.columns so:

{
command: [{
     name: "destroy",
     text: "Remove",
     className: "ob-delete"
}

To remove a row and do something when button is clicked:

$(document).on("click", ".grid tbody tr .ob-delete", function (e) {
    var item = grid.dataItem($(this).closest("tr"));
    var check = confirm("Delete");
    if (check) {
        grid.removeRow($(this).closest("tr"));
    }
}); 

Full example

Edit:

I use the kendo ui version: 2012.3.1114

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-19T04:47:42+00:00Added an answer on June 19, 2026 at 4:47 am

    Mobile and click event are not best of friends!

    In this code you are adding click on the Html element having .ob-delete class which will not fire Kendo’s built in click event. Instead, try to implement your delete method as custom command shown in this demo: http://demos.kendoui.com/web/grid/custom-command.html

         $(document).ready(function () {
                    var grid = $("#grid").kendoGrid({
                        dataSource: {
                           pageSize: 10,
                           data: createRandomData(50)
                        },
                        pageable: true,
                        height: 260,
                        columns: [
                            { field: "FirstName", title: "First Name" },
                            { field: "LastName", title: "Last Name" },
                            { field: "Title" },
                            { command: { text: "View Details", click: showDetails }, title: " ", width: "140px" }]
                    }).data("kendoGrid");
    
                    wnd = $("#details")
                        .kendoWindow({
                            title: "Customer Details",
                            modal: true,
                            visible: false,
                            resizable: false,
                            width: 300
                        }).data("kendoWindow");
    
                    detailsTemplate = kendo.template($("#template").html());
                });
    
                function showDetails(e) {
                    e.preventDefault();
    
                    var dataItem = this.dataItem($(e.currentTarget).closest("tr"));
                    wnd.content(detailsTemplate(dataItem));
                    wnd.center().open();
                }
            </script>
    

    or if a custom command is not required, try the default delete event as shown in this demo.
    http://demos.kendoui.com/web/grid/editing-inline.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

lets have example.. some complex work is divided by 4 thread thread -A is
I have a Kendo Grid that binds to an XML DataSource. How can I
I have downloaded and used Kendo UI with Kendo UI grids, but my source
I have example how to work with sharepoint data from silverlight client: var tipSenderList
I have example.org and foo.example.org pointing to the same directory, /var/www/html/ , and want
Anyone have example Rx code that shows how to execute an action due to
I have example: for line in IN.readlines(): line = line.rstrip('\n') mas = line.split('\t') row
If I have example.com/dir and dir is basically a folder in the example.com server,
The issue Let's say that I have example.com, example.org and example.net. All of these
I have this example FactoryGirl.define do @site = FactoryGirl.create(:my_site) factory :user do email {

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.