Telerik Forums
Kendo UI for jQuery Forum
3 answers
594 views

Is there a built in function (couldn't find in the documentation) that will convert a column index to it's named range equivalent?

 

For example convert column 2 to "C", 3 to "D", 27 to "AB", etc.

Doug
Top achievements
Rank 1
 answered on 21 Jun 2017
3 answers
104 views

Is it possible to bind a column chart to individual fields in a MVVM viewModel? 

We have a calculator with numerous inputs from the with the end result being three main total fields. So these fields are actually calculated based on calculations which doesn't make them quite appropriate for a dataSource object. E.g. 

 

var myViewModel = kendo.observable({
    totalIncome: function(){
        /* get expressions to gather all the input provided by the user */
        return sumOfGetExpressionsAbove;
    },
 
    totalExpenses: function(){
     /* get expressions to gather all the input provided by the user */
        return sumOfGetExpressionsAbove;
    },
 
    /*other fields/properties related to the calculator for various types of incomes, expenses, assumptions etc. These all make up part of the fields used to calculate totals */
})

 

So the total fields are used in two divs show the totals but we also want to show this in a simple 2 column bar chart. 

Is this possible? I don't see any way to bind a chart to two separate fields instead of a datasource? 

Boyan Dimitrov
Telerik team
 answered on 21 Jun 2017
5 answers
265 views

Hi, according to documentation, The data source used by the kendo.ui.TreeList widget. Inherits from kendo.data.DataSource

http://docs.telerik.com/kendo-ui/api/javascript/data/datasource#configuration-schema.data

But when I try to define  

schema: {
data:"result"

}

 

Widget can't load any data.

Boyan Dimitrov
Telerik team
 answered on 21 Jun 2017
1 answer
223 views

I am working with the Kendo mobile framework and am trying to use the bootstrap theme:

<link href="Content/kendo/2017.2.504/kendo.common.min.css" rel="stylesheet" />
<link href="Content/kendo/2017.2.504/kendo.default.min.css" rel="stylesheet" />
<link href="Content/kendo/2017.2.504/kendo.mobile.all.min.css" rel="stylesheet" />

 

var app = new kendo.mobile.Application(document.body, {
        skin: "bootstrap"
    });

 

This isn't working, so I'm wondering what the proper css files are.

Tsvetina
Telerik team
 answered on 21 Jun 2017
1 answer
510 views

Hello,

When I change the material theme to the default theme, the image inside the image-only button is not vertically aligned in the middle anymore: http://dojo.telerik.com/enefU/3

I have a similar issue with toolbar buttons too: http://dojo.telerik.com/OCICi

Currently I am trying to solve the issue with following CSS style, but it's not perfect:

.k-button .k-image {
    vertical-align: middle;
}

Any recommendations?

 

Best regards,

Kaan

Orlin
Telerik team
 answered on 21 Jun 2017
1 answer
336 views
In my chart , Legends are placed on the right of the chart area. Height of my chart is very high. Everytime user has to come to the center of the page to check the legends. Is there a way to place the legend at the top of the page and move down along with the scrolling of the page down. Please let me know if my question is not clear.
Tsvetina
Telerik team
 answered on 20 Jun 2017
2 answers
366 views

Is there a way to add a target marker in the donut chart?

There are three slices in the chart. The first slice is the actual value, the second slice is the remaining value to reach the target and the third slice is the remaining value to 100%. See image: kpi-target.png

If the target has been reached or surpassed then the chart will be two slices (actual value and remaining to 100%). See image: kpi-target-2.png

Thanks.

Jimmy
Top achievements
Rank 1
 answered on 20 Jun 2017
4 answers
460 views

We have 'selectable' set for our scheduler as it adds great easy and fast time selections while the user has the editor open (took out modal overlay to allow them to interact with scheduler while editor is open). 

However, this has the unfortunate side effect of browser behavior jumping down the page to focus the scheduler when you click inside if you were not previously focused on the scheduler... 

I solved this by setting the height of the scheduler to the users browser window height, so the scheduler is always in view and the jumping stops. My only concern is that the all day slot is not included in the scrollable scheduler  section (the overflow of the scheduler time slots that don't fit in the view). Therefore... if someone has 20 all day events they are seeing in the current view, it is going to push the rest of the scheduler halfway down the page and greatly reduce visibility, but we need the all day slots.

Is there a better way to handle the browser jumping issue? Or is there a way to set a max height on the all day slot and make that scrollable? Or have it be part of the scrollable part of the scheduler?

Sayer
Top achievements
Rank 1
 answered on 20 Jun 2017
1 answer
178 views

Hello,

I do not see the Show Business hour toggle button or footer in my Scheduler. Even in Kendo demo Basic Scheduler HTML Shows the button but ASP .NET/MVC demo does not. What am i missing. When i am Setting workdaystart and workdayend will it still Show the ShowBusinessHour button?

@(Html.Kendo().Scheduler<MvcDesktop.Models.Scheduler.TaskViewModel>()
.Name("scheduler")
.Date(( DateTime)ViewBag.CurrentDay)
.WorkWeekEnd((int)ViewBag.WorkWeekEnd)
.MinorTickCount(Convert.ToInt32(Session["interval"]))
.WorkDayStart(new DateTime(System.DateTime.Today.Year, System.DateTime.Today.Month,System.DateTime.Today.Day,ViewBag.StartHour, ViewBag.StartMinute, 00))
.WorkDayEnd(new DateTime(System.DateTime.Today.Year, System.DateTime.Today.Month,System.DateTime.Today.Day,ViewBag.EndHour, ViewBag.EndMinute, 00))
.Height(800)
.Views(views =>
{
views.DayView(dayWeekView => dayWeekView.Selected(ViewBag.ShowDay).DateHeaderTemplate("<span class='k-link k-nav-day'>#=kendo.toString(date, 'ddd dd.M.')#</span>")).ShowWorkHours(ViewBag.ShowWorkDay);
views.WorkWeekView(workWeekView => workWeekView.Selected(ViewBag.ShowWorkWeek).DateHeaderTemplate("<span class='k-link k-nav-day'>#=kendo.toString(date, 'ddd dd.M.')#</span>"));
views.WeekView(workWeekView => workWeekView.Selected(ViewBag.ShowWeek).DateHeaderTemplate("<span class='k-link k-nav-day'>#=kendo.toString(date, 'ddd dd.M.')#</span>")).ShowWorkHours(ViewBag.ShowWorkDay);
views.MonthView(workmonthView => workmonthView.Selected(ViewBag.ShowMonth));

})

 

Thanks

 

Anmaika

Anamika
Top achievements
Rank 1
 answered on 20 Jun 2017
6 answers
174 views

See the live Telerik Demo: http://demos.telerik.com/kendo-ui/spreadsheet/sorting-filtering

Steps to reproduce:
1. Click the filter dropdown on the "Client" column header.
2. Expand the "Filter by value."
3. Check the top 5 client names.
4. Click the "Apply" button.
5. The grid refreshes with the filter applied.
6. Click the filter dropdown on the "Client" column header (again).
7. Click into the filter by condition.
8. Select "Text contains".
9. Type "hill".
10. Click the Apply button.

 

Notice nothing happens when it should apply the filter and show the item "Agnes Hill".

Problem:
This is broken behavior and doesn't match what Google Sheets or Excel does. Nor does it act in a way that is user friendly. Both Excel and Google sheets allow you to select *both* a filter by value *and* a filter by condition. In the current Spreadsheet implementation, it seems broken and you can't do this unless you apply the filters in the reverse order (first by condition, then by value) - in which case the filter for "condition" in the dropdown loses the filter value (another bug).

Expected behavior:
After step 10, the filter should be applied.

Veselin Tsvetanov
Telerik team
 answered on 20 Jun 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?