hello there
is there a way to convert a normal kendo DataSource to a HierarchicalDataSource
I´m trying to create a function that gets all the child elements from the datasource but it´s hard when there is grouping involved in the datasource
or do you have some kind of function that gets all the lowest child nodes that are in the normal datasource
best regards from Iceland
Is there a way to use a contains filter on a grid column that is using the 'values' lookup attribute? I've noticed with filterable:true option that it does not include a contains option by default. I have a column defined in the columns section of grid options:
{ field: "sampleId", title: "Sample Item", width:165, values: sampleListLookup },
Later a filter as:
filter.push({
logic: 'or',
filters:[
{ field: 'sampleId', operator: 'contains', value: $scope.filters.searchString },
However, when I try this is give an error in the Int stored in the column instead of filtering on string values that match the Id key. The logic works very well for string columns, just not the string look-ups above.
Looking for ideas on a work around or is it going to end up being a server side query? Perhaps filtering the lookup lists and passing in the resulting list to the filter?
<ul data-template="itemtemplate" data-bind="source: Data">
<script id="itemtemplate" type="text/x-kendo-template"> <li> <div> <label data-bind="text: Description"> </label> </div> </li> </script>
HI,
I have a slider:
@(Html.Kendo().Slider<int>()
.Name("yearSlider")
.IncreaseButtonTitle("-")
.DecreaseButtonTitle("+")
.Min(2016)
.Max(2019)
.SmallStep(1)
.LargeStep(1)
.Value(2016)
.HtmlAttributes(new { @class = "yearSlider" }))
The year is displayed as "2,016". How do I make it show "2016" (no comma)?
thanks
I would like to use a Donut chart to display a boolean value. However, I'm not sure that it works this way right out of the box.
My DataSource is receiving multiple Json objects that look like this:
{"PolicyGroupId":2,"PolicyGroupName":"Communication","AtRisk":true},{"next object here"},{"and so on..."}
Now my question is, how do I display a donut chart that shows the correct percentage for the total number of "True" and "False" for the field "AtRisk"? Is this possible at all?
I'm thinking that I'm going to need to aggregate them somehow on the server first and then return Json but I'm not sure what exactly it needs to look like.
I have a chart with 3 series. I want series 1 to not be stacked but series 2 and 3 to be stacked. How can I accomplish this? I noticed that there is a stack attribute for the series
http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart#configuration-series.stack
However, the lower print says that Stack settings of the first series are applied to the rest of the series. How can I accomplish what I need?
Regards
Hi there,
I was wondering if it is possible to have labels for the inner ring of a two-series donut? When I made the labels visible they appeared over the appropriate donut segment, but I would like to move them into the middle (see my attached mockup).
Thanks,
JSK
Hi,
is there anybody that successfully applied asKendoDatasource() with jaydata >1.5 and OData 4 in order to obtain a datasource that could be bound to a kendo ui widget?
datasource: entityContext.entitiy.asKendoDataSource()I am not quite sure whether it is my implementation that is not working or just asKendoDatasource that doesn't work with odata4.
Thanks for any hints.
Oliver
I would like to use kendo in powerbi custom visuals using the powerbi dev tool at https://xxx.powerbi.com/devTools. When I try to include the contents of 1) kendo.all.js 2) kendo.all.d.ts, I receive the error message in power bi:
angular.min.js:116 TypeError: d.getModel(...).getMode(...).getEmitOutput is not a function at Object.s [as compile] (extensibility.min.js:3) at a.compile (extensibility.min.js:1) at extensibility.min.js:1 at m.$emit (angular.min.js:144) at m.t.compile (extensibility.min.js:1) at fn (eval at <anonymous> (angular.min.js:1), <anonymous>:4:212) at b (angular.min.js:124) at e (angular.min.js:268) at m.$eval (angular.min.js:142) at m.$apply (angular.min.js:143)