Articles in this section
Category / Section

How to adjust the textbox size in treenode editable state in JavaScript Treeview?

This article explains how to adjust the textbox size in the TreeNode editable state in JavaScript TreeView. The TreeView component allows you to edit nodes by setting the allowEditing property to true. You can adjust the size of the textbox using the corresponding textbox element class and the cssClass property of the TreeView component. The following code sample demonstrates how to adjust the size of the textbox in the TreeNode editable state.

/*mytree is a cssClass for treeview element*/ 
.e-treeview.mytree .e-list-item .e-text-content .e-list-text .e-input-group { 
    margin-bottom: 0px; 
    min-width: 80px; 
    width: 90px; 
} 

 

Refer to the working sample for additional details and implementation: Sample

Conclusion

We hope you enjoyed learning about how to adjust the textbox size in treenode editable state in JavaScript Treeview.

You can refer to our JavaScript Treeview feature tour page to learn about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications. You can also explore our JavaScript Treeview example to understand how to create and manipulate data.

For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.

If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forumsBoldDesk Support, or feedback portal. We are always happy to assist you!

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied