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

Tooltip data-width not working with MVVM

1 Answer 98 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Dennis
Top achievements
Rank 1
Dennis asked on 10 Sep 2013, 07:55 PM
Using the data-role attribute and setting the width option via html attributes doesn't seem to work.

The below code will not set the width option.
<span data-role="tooltip" data-width="200"></span>

I've found that this is because the width property is not set in the tooltip default options. I've temporarily fixed this using:
kendo.ui.Tooltip.fn.options.width = "";

This has been tested in v2013.2.716

1 Answer, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 12 Sep 2013, 11:17 AM
Hi Dennis,

Thank you for bringing this to our attention. We will include the width as a default option in our next internal release.
As a small sign of our appreciation I updated your Telerik points.

Regards,
Alexander Popov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
ToolTip
Asked by
Dennis
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Share this question
or