This is a migrated thread and some comments may be shown as answers.

Treeview with numerictextbox focus not working

3 Answers 104 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Paulraj
Top achievements
Rank 1
Paulraj asked on 01 Apr 2019, 10:58 AM

 I am trying to use numeric textbox inside treeview template. When I try to focus the textbox, it doesn't focuses and lost the focus. Since I wasn't able to change the values. I tried using mvvm binding from html and its not working either. 

P.S I had to use numerictextbox because of the formatting reasons. Below is the sample url i have tried,

https://dojo.telerik.com/@paulrajj/OmOdilij/2

Kindly let me know if there is any solutions to fix this. 

3 Answers, 1 is accepted

Sort by
0
Petar
Telerik team
answered on 02 Apr 2019, 02:04 PM
Hello Paulraj,

I've used your Dojo as a basis for preparing this example of how you could use Kendo NumericTextBox in your TreeView. 
To configure your NumericTextBox the way you need and deeply understand how it works you can check its documentation and the demos showing its usage in different scenarios. 

If you need further assistance, do not hesitate to contact us. 

Regards,
Petar
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.
0
Paulraj
Top achievements
Rank 1
answered on 03 Apr 2019, 06:27 AM

Hi Petar,

Thanks for your reply. I couldn't find any big difference between my example and your example. I am able to bring the numeric textbox inside treeview template and my problem is that numeric textbox focus not working. You can see from your example as well. 

I found some temporary solution for now from the below url, since its already a known bug.

https://github.com/telerik/kendo-ui-core/issues/4948

Thanks.

 

0
Petar
Telerik team
answered on 03 Apr 2019, 12:41 PM
Hi Paulraj,

Thank you for the feedback. Maybe I misunderstood you because I didn't see the numericTextBox's arrows in your example. 

Luckily you found the workaround. Thank you for posting it back so if someone has the same issue they can easily find its solution here.
 

Regards,
Petar
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.
Tags
TreeView
Asked by
Paulraj
Top achievements
Rank 1
Answers by
Petar
Telerik team
Paulraj
Top achievements
Rank 1
Share this question
or