Hi, in my scenario I have for example 4 series of the type column. The first two have to be unstacked columns. The other two have to be stacked on each other.
Fo xample:
series: [
{ name: "India", data: [3.907, 7.943, 7.848, 9.284, 9.263, 9.801, 3.890, 8.238, 9.552, 6.855], stack: false},
{ name: "Russian Federation", data: [4.743, 7.295, 7.175, 6.376, 8.153, 8.535, 5.247, -7.832, 4.3, 4.3], stack: false},
{ name: "Germany", data: [0.010, -0.375, 1.161, 0.684, 3.7, 3.269, 1.083, -5.127, 3.690, 2.9], stack: "stack"}
{ name: "World", data: [1.988, 2.733, 3.994, 3.464, 4.001, 3.939, 1.333, -2.245, 4.339, 2.727], stack: "stack"}
]
It appears that either all of the columns have ot be stacked or to be unstacked.
If this is true, is there any workaround to mix stacked and unstacked columns?
Thank you!
Best regards

1.kendo.cultures['en-US'].calendar.months.names.forEach(function (month, index) {2. kendo.spreadsheet.DynamicFilter.prototype[month.toLowerCase()] = function (value) {3. if (value instanceof Date) {4. return value.getMonth() === index;5. }6. return false;7. };8.});There doesn't appear to be a culture property that can be set on the spreadsheet kendo config, so I was curious if it's possible to even adjust the culture for the dates in the DynamicFilter to better respect localization?
Secondly, we include a number of culture localization files with our kendo.datpicker.js component so we can internationalize the text for datepicker usages. Unfotunately, adding the en-US culture to the datepicker becomes a problem for the spreadsheet which takes a dependency on datepicker. Looking at the code below from kendo.core.js, you can see that there is a function (called on file load) which will take in a culture (line 13 shows it's invoked with en-US) and add the calendar property to that particular culture. This calendar property is only used by the spreadsheet component, which assumes en-US, likely because this kendo.core.js only does this for en-US. It appears that the work-around would be to simply have the spreadsheet use the calendar's.standard property instead of assuming the kendo.cultures dictionary won't be updated between kendo.core.js load and the load of the kendo.web.js for spreadsheets. This could be achieved by exposing a property on spreadsheet for datePickerCulture which falls back to en-US by default. In any case, this is what drives the DynamicFilter property code for the spreadsheet and when we load a new culture for en-US, we lose the calendar property. We've worked around this by loading the culture files for the localizations we want, calling kendo.culture('en-US') to get the calendar property, then loading the kendo.spreadsheet.js with it's dependencies. Is this the right approach, or am I missing some instructions?
01.kendo.culture = function (cultureName) {02. var cultures = kendo.cultures, culture;03. if (cultureName !== undefined) {04. culture = findCulture(cultureName) || cultures[EN];05. culture.calendar = culture.calendars.standard;06. cultures.current = culture;07. } else {08. return cultures.current;09. }10.};11.kendo.findCulture = findCulture;12.kendo.getCulture = getCulture;13.kendo.culture(EN);
I'm looking at a case where the "defaultValue" sort of initialization of a Model may not be sufficient. I wanted to try and hook in to Model's constructor process, but I'm not quite successful. I have a little example on the dojo that sets up the Model, a DataSource that uses it with a couple rows of data, and a grid that displays it.
It tries to use the "init" event handler inherited by kendo.data.Model from kendo.Class with my custom constructor function (MyConstructor). This works in that my constructor function gets called, and I can successfully manipulate the data record (available as "this"). But something about this seems to prevent the datasource from actually finishing up initializing the records with the actual data, even if I make no actual modifications in MyConstructor(). "id" and "description" have their default values, not those from the array of data records that you see when the init constructor does not run.
I do "kendo.data.Model.call(this)" to run the parent constructor from Model - perhaps something slightly different is needed? Or is there some other proper way to hook into model construction? It is for the "create" process on for a grid, so the model instance is created and bound to the edit template all internally in kendo code before I can get ahold of it via the grid's "edit" event.
Hi,
As my title says, I'm trying to execute a method/callback after the user has navigated to a new view (ie, month) as I'd like to make changes to the structure of the calendar in month view.
I see that the 'navigate' callback execute before the change, is there some way to execute a method after new view is loaded?
Thanks,
Grant
I have the following data representation displayed in a TreeList where there are two columns: Name and Creation Date. (Each Value entry is a child of the parent Item entry.)
Name - Creation Date
Item 1 - Jan 01, 2017
Value 1 - Jan 11, 2017
Value 3 - Jan 02, 2017
Value 2 - Jan 01, 2017
Item 2 - Dec 20, 2016
Value 2 - Dec 20, 2016
Value 1 - Dec 17, 2016
Value 3 - Dec 16, 2016
Item 3 - Nov 15, 2016
Value 3 - Nov 25, 2016
Value 1 - Nov 22, 2016
Value 2 - Nov 20, 2016
What do I need to do in order to sort by the Name value vs. the Creation Date so that it appears as follows:
Item 1 - Jan 01, 2017
Value 1 - Jan 11, 2017
Value 2 - Jan 01, 2017
Value 3 - Jan 02, 2017
Item 2 - Dec 20, 2016
Value 1 - Dec 17, 2016
Value 2 - Dec 20, 2016
Value 3 - Dec 16, 2016
Item 3 - Nov 15, 2016
Value 1 - Nov 22, 2016
Value 2 - Nov 20, 2016
Value 3 - Nov 25, 2016
No sort order is set in the TreeList markup; all the columns in the TreeList are sortable such that if I click the Name column header, the child rows are sorted appropriately.
If the resources dont fit the scheduler a vertical scroll appears (in case the scheduler is with fixed height).
Thats ok, but the issue is that the time and date headers widths start to miss their alighmen with the content columns ( more stronger over time. )
Here is the dojo http://dojo.telerik.com/eXUqI
Choose for example "Timeline week" and the scroll to the right.

I'd like to implement a custom icon in the header, which when clicked, shows a customizable menu (similar to the context menu in the Spreadsheet component).
Is there anything built in which can help me? If not can you please provide the code used to show the context menu in the spreadsheet).
Thanks!