Telerik Forums
Kendo UI for jQuery Forum
1 answer
307 views

Currently I have a bubble chart that I am using tooltips to display some more information about the bubble.  I need the tool tip to stay visible while a user clicks a button to export the chart as an image.  I have set the autoHide attribute to false, but it does not seem to have any effect. My tooltip does not get a close button. My chart configuration looks like this: 

series: [{
                    type: "bubble",
                    xField: "CurrentLossEstUSD",
                    yField: "CurrentScore",
                    sizeField: "MFL_TOTAL",
                    color: "#dadfe1",
                    tooltip: {
                        visible: true,
                        format: "{3}: MFL - {2:N0}",
                        autoHide: false
                    },

}]

 

Thanks.

Tsvetomir
Telerik team
 answered on 08 Nov 2019
5 answers
258 views
Hello,

I was just wondering if there is a way to make the map always show the same extent, regardless
of the size of the <div> element containing it?

Something like an auto zoom function so the map always shows the same area?

Best regards 
Viktor Tachev
Telerik team
 answered on 08 Nov 2019
1 answer
324 views

In searching this forum I came across this post from 2013.... https://www.telerik.com/forums/get-scheduler-timeslot-on-kendodroptarget

It mentions that this may be implemented in a future release. I've not found any information that indicates this is possible. I'm looking at placing a series of div objects that represent different types of events (work, lunch, meeting, day-off etc) along side a Scheduler. A user will drag and drop a div onto a scheduler and that will create a scheduler event in the slot it was dropped onto. Is this possible?

Thanks

Martin
Telerik team
 answered on 08 Nov 2019
4 answers
947 views

Hi, All my filter icon (k.filter) in all my gris is gone. 

No square or wrong symbol, just nothing. The button is there, if I blind clic on the filter, the filter menu open. I am using the Balck theme.

Here my CSS bundle

bundles.Add(new StyleBundle("~/Content/kendo")
                .Include("~/Content/kendo/kendo.common.min.css",
                         "~/Content/kendo/kendo.black.min.css",
                         "~/Content/kendo/kendo.dataviz.black.min.css"));

Here my js bundle

Bundle kendoBundle = new ScriptBundle("~/bundles/kendo")
                .Include("~/Scripts/kendo/kendo.all.min.js")
                .Include("~/Scripts/kendo/kendo.aspnetmvc.min.js")
                .Include("~/Scripts/kendo/cultures/kendo.culture.fr-CA.min.js")
                .Include("~/Scripts/kendo/messages/kendo.messages.fr-CA.min.js")
                .Include("~/Scripts/kendo/kendo.dataviz.chart.min.js");

In the Content\kendo CSS folder, I go an BLACK, FONT, TEXTUTES ans the kendo css file. All updated to the 2019.2.619 version.

Any idea? All the rest is working

 

Ivan Danchev
Telerik team
 answered on 07 Nov 2019
10 answers
463 views

My scheduler is having a problem when a user creates a recurring event that crosses a time change (day light savings).  If i create a recurring event for Oct 29 at 12PM and have it recur for 10 days it is correctly displayed at 12PM until Nov 3rd (after the time change) it starts showing at 11AM.

 

The database record looks like 

https://imgur.com/3zI3u2j

The timezone is set to:.Timezone( "America/New_York")

The other thing I notice is when i go in to edit an event in the Scheduler it shows in UTC time in the editor instead of in America/New_York.  Most of my events are not edited through the Scheduler UI, so this has not become a problem.

 

 
 
Ivan Danchev
Telerik team
 answered on 07 Nov 2019
2 answers
803 views

Hello everyone!

I've been struggling this past few days trying to accomplish a custom task editor with custom fields and validators for the Gantt widget.

 

I got to the point in wich: 

1) The only way to edit a Task, is by double clicking the task in the gantt graphic side

2) I wired up the edit event so It opens a custom template edit form (wich have some extra fields and some validations (I didn't put all of them for demo purpuses) with some textboxes, calendars and maskedtextboxes

3) When I edit some values (for example, the title of the task) and then click on the "save" button, It  doesn't save the modified value :(

4) In the "onEdit" function I don't know exactly how to update the model so changes are visible in the Gantt, documentation found here: https://docs.telerik.com/kendo-ui/intro/widget-basics/editing#adding-editors-without-using-mvvm-bindings

says: "wire the change event of the editor and update the model accordingly."  but that is where i'm stucked

 

I've tried:

1) In te "onEdit" function set the properties directly like "e.task.title = 'Some Value'" but no luck

2) In my custom edit template use for example "<input type="text" name="title" style="display:none;"/>" and then tryied to update the value of that input but no luck either

3) Everything from above but in the "onSave" function, obviously didn't work either :P

4) I've seen there are some functions like "e.task._notifyChange" or "e.task.change" or "e.task.set" functions but couldn't find any documentation for those.

 

Note:

In case you are wondering why I need a custom template?, because my client wants some custom dates to be disabled while selecting start or end date, also I have to calculate the number of work days between the selected dates, show the completePercentage without the decimal parts,  and other bussiness rules like those.

 

I have set up this Dojo example, and some images to clarify my problem. Just double click on "Sub Tarea 1.2" and make some changes

 

Any suggestions are very appriciated

Petar
Telerik team
 answered on 07 Nov 2019
4 answers
256 views

Hi,

I need a grid (or maybe another similar tabular display) to show a column of text and a boolean column with a switch widget.

The switch widgets need to be always visible, unlike this example where you need to click the cell to go into edit mode.

I have followed another approach in order to achieve this, but for some reason I don't seem to able to get the grid data item in the switch change handler (rowDataItem is undefined, while grid and gridRow appear to resolve ok).

Assistance is appreciated.

Thanks.

 

Steve
Top achievements
Rank 2
Iron
 answered on 07 Nov 2019
4 answers
308 views

I'm trying to add custom function support for our spreadsheets. I've defined the function and I've been able to get it working as expected but sometimes I run into an issue with the sheets.rows.cells.formula field.

https://docs.telerik.com/kendo-ui/api/javascript/ui/spreadsheet/configuration/sheets.rows.cells.formula

This documentation page claims it's supposed to be a string, and if I console log it like in the code block below it behaves as expected. But if I take that JSON and try to pass it to a different file or the database to then parse back into an object and perform various operations on the data the values change. Instead of the nice sheets.rows.cells.formula being the formula string that I set, it's now turned into a function reference despite no operations being done to the data aside from converting to and from JSON. Sometimes even if I don't convert to and from JSON and just pass the object it will mutate itself inexplicably. 

Am I doing something wrong here? Why would the values change just by converting to and from JSON? I need that formula data and the function reference does not help me.

telerikDIV = kendo.jQuery('.k-spreadsheet').getKendoSpreadsheet()._workbook
 
telerikDIV.saveJSON().then((data) => {
     var json = JSON.stringify(data, null, 2);
     console.log(json);
     console.log(JSON.parse(json));
});
Martin
Telerik team
 answered on 06 Nov 2019
2 answers
166 views

I followed the group by date only example in the knowledge base. Works great.

https://docs.telerik.com/kendo-ui/knowledge-base/grid-group-by-date-only

 

The only issue I have is that when I export to excel, i get only the date portion of the value even though the grid displays the date and time via the template. How can I get around this so Excel export also uses the template value?

Viktor Tachev
Telerik team
 answered on 06 Nov 2019
3 answers
1.3K+ views

On the tree list when you have a filter on the start the no records data is not centered vertically.

https://dojo.telerik.com/OTeNIcAr

After you change the filter the no records data becomes centered vertically. How can this be solved?

From the investigation it seems that the "k-grid-norecords-template" div has the style "style="margin:0 auto;position:static;"" which it should not be added to the div.

Teya
Telerik team
 answered on 06 Nov 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?