Kendo spreadsheet add custom button in filter section

2 posts, 0 answers
  1. Michael
    Michael avatar
    29 posts
    Member since:
    Jun 2015
  2. Martin
    Admin
    Martin avatar
    222 posts

    Posted 06 Feb Link to this post

    Hello Michael,

    The Spreadsheet does not allow customization of the Filter menu out-of-the-box. There is an existing feature request in our Feedback Portal about it, so I suggest casting your vote for it.

    A possible workaround is to bind to the click event of the .k-icon element, and prepend the button to the .k-action-buttons div.

    $(".k-icon").click(function(){
      $(".k-action-buttons").prepend("<button class='k-button customBtn'>Custom Btn</button>");
      $(".customBtn").click(function(){
      	alert("Your custom code")
      })	
    });

    Here you will find a small Dojo example for reference.

    Feel free to ask if you have any questions.

    Regards,
    Martin
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top