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

data-role listing

4 Answers 331 Views
MVVM
This is a migrated thread and some comments may be shown as answers.
Joshua
Top achievements
Rank 2
Iron
Veteran
Iron
Joshua asked on 28 Jul 2012, 05:36 PM
Where can i find a listing of all of the different data-role values?

You guys have tons of widgets and I am not sure which role i should use to specify which kind of widget i am trying to get to. is there a convention where it is the normal widget name but not camel cased?

4 Answers, 1 is accepted

Sort by
0
Alex
Top achievements
Rank 1
answered on 02 Sep 2012, 10:09 PM
+1 on this question. Spent a lot of time in forums, docs - could not find it. In addition could you please list for each data-role value what html elements it could be applied to?

Alex
0
Michael
Top achievements
Rank 1
answered on 20 Sep 2012, 06:55 PM
I vote for this as well.  I looked all over, and couldn't find it anywhere.  I happened to find one I can use for "radialgauge" in a forum post, but now need to find one for the other charts.

I'm struggling a little to learn Kendo at the moment.  It really needs improved documentation, and LOTS more code samples.  Don't get me wrong...some doc pages are really good, but it feels like there are holes in others.  A lot of times, I can't seem to find the answer to what I want to get done when it seems like it should be right there in the docs.

Just one inconsistency example is that you'd never know donut charts can display as nested donuts, unless you happened to click on the "Binding to remote data" sample.  Why that feature is shown off there, instead of a "Nested donuts" sample is beyond me..  Any feature that someone might want to do should basically be its own sample.  I can't help but wonder what other hidden features the charts have that are not exposed in any of the samples, and I'll find out about something down the road because I notice it in those long API pages, or in some random sample I didn't think to click on before.

Also, some of the documentation links show pages telling me to visit the new and improved documentation...which is where I thought I was already.  KendoUI is showing promise for sure, but I'd really like improved documentation.  Just my two cents...
0
Marco
Top achievements
Rank 1
answered on 12 Oct 2017, 02:36 PM
Same problem yet
0
Nencho
Telerik team
answered on 17 Oct 2017, 10:49 AM
Hello Marco,

Information on the matter is available in our documentation, under the Data Attributes section:

https://docs.telerik.com/kendo-ui/intro/widget-basics/data-attribute-initialization#data-attributes

and the important note in the aforementioned article:

"The value of the role data attribute is the lower-case name of the widget—"autocomplete", "dropdownlist", and so on."

Regards,
Nencho
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
MVVM
Asked by
Joshua
Top achievements
Rank 2
Iron
Veteran
Iron
Answers by
Alex
Top achievements
Rank 1
Michael
Top achievements
Rank 1
Marco
Top achievements
Rank 1
Nencho
Telerik team
Share this question
or