NumberPad for Mobile

1 Answer 32 Views
ButtonGroup
Bill
Top achievements
Rank 2
Iron
Bill asked on 06 Oct 2024, 10:43 PM
I want an on-screen numeric keypad _ like a phone dialer _ where the user can press screen buttons _ to enter numbers _ like a hand-held calculator.   I suppose that I could create an array of buttons.  I am surprised that I do not see a widget already built.   What is the best way?  Comments would be appreciated.

1 Answer, 1 is accepted

Sort by
1
Accepted
Neli
Telerik team
answered on 09 Oct 2024, 10:22 PM

Hello Bill,

If you need to create something like a keypad you could indeed proceed with creating multiple Buttons. You can handle the click event of the buttons and use the value as demonstrated below:

 click: function(e){       
        console.log($(e.event.target).text())
      }

Here is such a Dojo example where the value of the clicked Button is console logged - https://dojo.telerik.com/GbznZkQY.

However, if you think that such a component would be a valuable addition to the suite you would suggest logging a new feature request in our official Feedback Portal and describe the expected result in details:

- https://feedback.telerik.com/kendo-jquery-ui/

Based on the votes the issue gathers we could add it for implementation in a future release. 

Let me know in case you have any additional questions on the matter.

Regards,
Neli
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
ButtonGroup
Asked by
Bill
Top achievements
Rank 2
Iron
Answers by
Neli
Telerik team
Share this question
or