New to Kendo UI for jQuery? Download free 30-day trial

Show Tooltip for Grid Custom Command Buttons


Product Progress® Kendo UI® Grid for jQuery Progress® Kendo UI® Tooltip for jQuery
Product Version 2017.3.1026


How can I show a tooltip for the Grid custom command buttons?


The Grid does not support a property for setting a tooltip to its command buttons. However, you can work around this issue by using a custom approach.

  1. Set a name to the custom command button to produce a k-grid-commandName class in the button HTML output.

        <a role="button" class="k-button k-button-icontext k-grid-custom" href="#">Do Stuff</a>
  2. Create a Kendo UI Tooltip whose filter property is set to include the k-grid-commandName class.
      <div id="grid"></div>
        $(document).ready(function() {
            dataSource: {
              type: "odata",
              transport: {
                read: ""
              schema: {
                model: {
                  fields: {
                    OrderID: { type: "number" },
                    Freight: { type: "number" },
                    ShipName: { type: "string" },
                    OrderDate: { type: "date" },
                    ShipCity: { type: "string" }
              pageSize: 20,
              serverPaging: true,
              serverFiltering: true,
              serverSorting: true
            height: 550,
            filterable: true,
            sortable: true,
            pageable: true,
            columns: [
                filterable: false
                field: "OrderDate",
                title: "Order Date",
                format: "{0:MM/dd/yyyy}"
              }, {
                field: "ShipName",
                title: "Ship Name"
              }, {
                field: "ShipCity",
                title: "Ship City"
                command: {
                  name: "custom",
                  text: "Do Stuff"
            filter: ".k-grid-custom",
            content: function(e){
              return "Click here";

See Also

In this article