button add title tag ?

1 Answer 43 Views
Button
n/a
Top achievements
Rank 1
Iron
Iron
n/a asked on 10 Nov 2022, 09:21 AM

I want button add title tag.  "data refresh".

 

How can I make it simple?

 

                    $("#toolbar").kendoToolBar({
                        items: [
                            { id: "btn_reload", icon: "k-icon k-i-reload", type: "button", overflow: "never" },

 

Thank you.

 

1 Answer, 1 is accepted

Sort by
0
Lyuboslav
Telerik team
answered on 14 Nov 2022, 10:27 AM

Hi Won,

Thanks for providing screenshots.

To reach this scenario you should add the "attributes" configuration to the current item, in your scenario, this is the button. And in the attributes configuration you could set the "title" to the needed value:

 

items: [
              { type: "button", text: "Button", attributes:{"title":"data refresh"}},
]

To demonstrate I prepared a sample dojo example.

Let me know if you have additional questions.

Regards,
Lyuboslav
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
Button
Asked by
n/a
Top achievements
Rank 1
Iron
Iron
Answers by
Lyuboslav
Telerik team
Share this question
or