Telerik Forums
Kendo UI for jQuery Forum
1 answer
100 views
Hi, 

On the demo page for stock chart, I see the values of ohlc values with .2 digit precision. eg: 73.84, 74.56... How can I change that sample to show values in 4 digit precision. eg: 73.8400, 74.5697...

Thanks in advance,
Iliana Dyankova
Telerik team
 answered on 11 Nov 2013
1 answer
477 views
1) Is there a way to default to "Business Hours"?

2) Could we maybe get some sort of notification or SOMETHING that there might be events hidden in the collapsed area?  Like if my business hours are 9-5, but the event is at 6...user is totally unaware.

Rosen
Telerik team
 answered on 11 Nov 2013
1 answer
131 views
using this way to load kendo datepicker:
<input data-bind="kendoDatePicker: { value: myDate}" class="k-widget" />

Doing this, it loads only the textbox with a side icon - clicking on icon doesn't open the date/calendar. Any particular reason ??
Alexander Valchev
Telerik team
 answered on 11 Nov 2013
1 answer
335 views
dear sir,

i'm new to scheduler and i want the scheduler will block some date,time slot  based on the date-time from back-end table
and here we did not allowed  to insert or update the data on that particular slot 


please give the worked JSBin sample for the above thread

like the image below



thanks & regards

-santhosh.B
Georgi Krustev
Telerik team
 answered on 11 Nov 2013
5 answers
469 views
Hello,

We experience a script error randomly when moving events with drag and drop within the scheduler.
The Visual explanation is that the event we have started to move - dont "release" from the mouse and are stuck with the cursor. As you can see in the attached file, the problem occur in the kendo.web.min.js library.

The current configuration run on Win 8.1 , IE11 and on the kendoui.complete.2013.2.918.commercial release.

Our datasource:
  dataSource = new kendo.data.SchedulerDataSource({
        sync: function () {
            this.read();
        },
        batch: true,
        transport: {
            read: {
                url: m_serverUrl + "/ActivityPointerSet",
                dataType: 'json'
            },
            parameterMap: function (options) {
                var parameter = {
                    $filter: filterstring,
                    $select: 'ActivityTypeCode,ActivityId,Subject,ScheduledEnd,ScheduledStart,StatusCode,OwnerId'
                };
 
                return parameter;
            }
 
        },
        schema: {
            model: {
                id: "ActivityId",
                fields: {
                    taskId: { from: "ActivityId" },
                    title: { from: "Subject", defaultValue: "No title", validation: { required: true} },
                    start: { type: "date", from: "ScheduledStart" },
                    end: { type: "date", from: "ScheduledEnd" },
                    //startTimezone: { from: "StartTimezone" },
                    //endTimezone: { from: "EndTimezone" },
                    StatusCode: { from: "StatusCode" },
                    roomId: { from: "ActivityTypeCode" },
                    description: { from: "StatusCode" },
                    recurrenceId: { from: "RecurrenceID" },
                    recurrenceRule: { from: "RecurrenceRule" },
                    recurrenceException: { from: "RecurrenceException" },
                    ownerId: { from: "OwnerId", defaultValue: 1 },
                    isAllDay: { type: "boolean", defaultValue: false }
                }
            },
            parse: function (data) {
                return data.d.results;
            },
            type: "json"
        },
        serverSorting: true,
        serverFiltering: true
    });
 
    return dataSource;
}


The Scheduler initialisation method
function ISV_Abs_InitKendoScheduler() {
    var datasource = ISV_Abs_GetSchedulerDataSource();
 
    $("#scheduler").kendoScheduler({
        date: new Date(),
        editable: {
            confirmation: "Are you sure you want to delete this Sales Call?"
        },
        startTime: new Date("2013/6/13 07:00 AM"),
        navigate: scheduler_navigate,
        remove: scheduler_remove,
        resizeStart: scheduler_resizestart,
        save: scheduler_save,
        moveStart: scheduler_movestart,
        views: [
                "day",
                    { type: "week", selected: true },
                    "month",
                    "agenda"
                ],
        edit: function (e) {
            Xrm.Utility.openEntityForm(e.event.roomId, e.event.taskId, null);
            e.preventDefault();
            return false;
        },
        dataSource: dataSource,
        resources: [
                {
                    field: "roomId",
                    dataSource: [
                        { text: "Sales Call", value: "abs_salescall", color: "#7ea700" },
                        { text: "Appointment", value: "appointment", color: "#0094E5" }
                    ],
                    title: "Activity Type"
                }]
    });
}

function scheduler_movestart(e) {
    if (e.event.description.Value == 2 || e.event.description.Value == 3) {
        alert("Cannot update a canceled or completed Activity");
        e.preventDefault();
        return false;
    }
}

I very happy for any help on this mather.

Best Regards
Support
Top achievements
Rank 1
 answered on 11 Nov 2013
1 answer
87 views
Hello,
is it possible to configure Kendo UI Mobile that the navigation bar on iOS devices is not overlayed at the top?
It should look like the same how it is displayed in Android.

Thank you guys!

Martin
Kiril Nikolov
Telerik team
 answered on 11 Nov 2013
3 answers
47 views
Hello,

I've noticed an issue with the filtering functionality of Date fields in the Kendo Grid. This behavior can be observed when viewing the grid demo: http://demos.kendoui.com/web/grid/remote-data.html

The sample data here has 7/3/1996 as the Order Date of the first record in the grid. If I attempt to filter the records for all orders on this date ("Is equal to" 7/3/1996), nothing appears. I would expect that at least this first record would remain. If I attempt to filter the records for all orders on 7/4/1996, the only record that appears is the first record with an order date of 7/3/1996, which is also not expected. I would expect that the second record with an order date of 7/4/1996 would appear. Similar issues occur when using the other filter types ("Is after", "Is before", etc.).

Is the dev team at Telerik aware of this issue? And is there a workaround for this short of implementing my own custom filter?

Thanks!
Geoff
Kiril Nikolov
Telerik team
 answered on 11 Nov 2013
1 answer
151 views
Hi,
I use inline editing with formatting tools like this :  


{ name: "formatting", items: [
            { text: "Important", value: ".Red" },
            { text: "Low", value: ".Blue" },
            { text: "Clear", value: "p" , context:"span" },
          ] }



I would like add a clear item which do a remove of the <span class="important">XXXXXX </span> .
Is it possible 
Thanks for help

Alex Gyoshev
Telerik team
 answered on 11 Nov 2013
1 answer
41 views
Dear Support Team,

I have some issue on binding data at the List View. At the Json string, the return value has been formatted with as HTML (<b>LH 1611 MUC STD07:50/05 ETD </b><br>Flight Status: <br>Remark: ) . So at my list view, it should show  like this :

LH 1611 MUC STD07:50/05 ETD
Flight Status:
Remark:
but I cannot see like that and just see like normal string. How can I able to bind to see the data properly. I attach my sample application.

And Another thing is that which css class should I call to show it properly.

Thanks & regards,
UFIS
Petur Subev
Telerik team
 answered on 11 Nov 2013
2 answers
311 views
Hi:

I would like to share some success with panelbar and datasource.
I have created a class vwPanelItem to map to the data structure needed for the PanelBar, as follows (see panelbar overview):
public class vwPanelItem
{
    public string value { get; set; }
    public string text { get; set; }
    public string content { get; set; }
}

This is delivered via a web-service as a json object as follows:
<ul id="kjContactsPanel">
</ul>
 
<script type="text/javascript">
    //
    var contactsDataSource = new kendo.data.DataSource({
        transport: {
            read: {
                url: "/Services/Contacts.asmx/@(ViewBag.RequestService)",
                dataType: "json",
                type: "POST",
                contentType: "application/json; charset=utf-8"
            },
        },
        schema: {
            data: "d"
        },
        change: function () {
            var panelItems = this.view().toJSON();
            var panelBar = $("#kjContactsPanel").kendoPanelBar({
                dataSource: panelItems,
                expandMode: "single"
            }).data("kendoPanelBar");
        }
    });
    //
    contactsDataSource.read();
    //
</script>
This is from a MVC implementation.  Thus the @(ViewBag.RequestService) is dynamic string being handed to the view from the controller (it is the web-service method).

Good luck:
Phil
Hafiz
Top achievements
Rank 1
 answered on 10 Nov 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?