This is a migrated thread and some comments may be shown as answers.

Calendar view

9 Answers 31 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
Sagi
Top achievements
Rank 1
Sagi asked on 19 Jan 2016, 07:14 AM

Hi,

Do you have some kind of a calendar which is NOT a date picker ?

Please take a look at http://js.devexpress.com/Demos/Simulator/?url=/Demos/KitchenSink/&deviceMode=mobiles (choose calendar from the menu)

I need a monthly Calendar which is presented on the screen all times , is stretched on the entire width of the device and enables to move between months by swiping.

 

Thx

Sagi

9 Answers, 1 is accepted

Sort by
0
Magdalena
Telerik team
answered on 20 Jan 2016, 07:12 AM
Hello Sagi,

Thank you for contacting Telerik support.

We have a new product Calendar so you can look through our online Calendar demos here.

Do not hesitate to contact us if you have other questions.

Regards,
Magdalena
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Sagi
Top achievements
Rank 1
answered on 20 Jan 2016, 10:42 AM

hI,

I would like to embed this calendar widget in a mobile app :

1) How easy is it to implement navigation between months using swipe (instead of the right nd left arrows)

2) Can it be stretched to 100% of the mobile view width ?

 

Thx

Sagi

0
Sagi
Top achievements
Rank 1
answered on 20 Jan 2016, 10:44 AM

and one more thing...

Can the dates / months text be localized ?

I need them in the Hebrew language.

thx

Sagi

0
Magdalena
Telerik team
answered on 21 Jan 2016, 09:29 AM
Hello Sagi,

We are afraid, that for this moment, we have no implemented swipe navigation between months and localization of the Hebrew language to the Kendo calendar. You can log these features to our feedback portal and vote for them.

Expanding the calendar to the entire parent width can be achieved by the following CSS:
html .k-calendar {
 width: 100%;
}


Regards,
Magdalena
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Sagi
Top achievements
Rank 1
answered on 21 Jan 2016, 10:00 AM

Cant  I implement swipe navigation between months ?

Can't I detect swipe event  (https://demos.telerik.com/kendo-ui/m/index#touchevents/mobile) ?

 

Thx

Sagi

0
Sagi
Top achievements
Rank 1
answered on 21 Jan 2016, 08:03 PM

OK, 

I was able to implement month move using swipe events.

However , I still need to figure out how to set the Hebrew text...

Can you please direct me to the source file in order to manually replace the  English  months (January , February...) to the Hebrew ones.In which js should I look for those constants.

Although it is not an ideal solution and will require me to change the source code after each kendo's release this might be the only option for me right now.

 

 

Thx

Sagi

0
Magdalena
Telerik team
answered on 22 Jan 2016, 11:13 AM
Hi Sagi,

We are glad that you were able to solve the problem yourself and apologize that we could not help you right away.

The Hebrew culture can be set to the Calendar by the following:

<script src="../Scripts/cultures/kendo.culture.he.min.js"></script>


$("#calendar").kendoCalendar({
    culture: "he",
});


Do not hesitate to contact us if you have other questions.



Regards,
Magdalena
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Sagi
Top achievements
Rank 1
answered on 28 Jan 2016, 06:01 AM

Hi ,

U have tried the following without any luck , Can you help ?

 http://dojo.telerik.com/AGoQi

 

<!DOCTYPE html>
<html>
<head>
    <base href="http://demos.telerik.com/kendo-ui/calendar/right-to-left-support">
    <style>html { font-size: 14px; font-family: Arial, Helvetica, sans-serif; }</style>
    <title></title>
    <link rel="stylesheet" href="//kendo.cdn.telerik.com/2016.1.112/styles/kendo.common-nova.min.css" />
    <link rel="stylesheet" href="//kendo.cdn.telerik.com/2016.1.112/styles/kendo.nova.min.css" />
    <link rel="stylesheet" href="//kendo.cdn.telerik.com/2016.1.112/styles/kendo.rtl.min.css" />
<script src="http://kendo.cdn.telerik.com/2016.1.112/js/cultures/kendo.culture.he.min.js"></script>
    <script src="//kendo.cdn.telerik.com/2016.1.112/js/jquery.min.js"></script>
    <script src="//kendo.cdn.telerik.com/2016.1.112/js/kendo.all.min.js"></script>
</head>
<body>

        <div id="example">            
            <div class="k-rtl">                
                <div class="demo-section k-content">
                    <h4>Pick a day:</h4>
                    <div id="calendar"></div>
                </div>
            </div>

            <script>
                $(document).ready(function() {
                    // create Calendar from div HTML element
                    $("#calendar").kendoCalendar({
                     culture: "he", 
                    });
                });
            </script>
        </div>

</body>
</html>

 

0
Magdalena
Telerik team
answered on 28 Jan 2016, 09:05 AM
Hello Sagi,

The script about the culture should be referred after the common Kendo script. Here is a fixed Dojo sample.

Regards,
Magdalena
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Date/Time Pickers
Asked by
Sagi
Top achievements
Rank 1
Answers by
Magdalena
Telerik team
Sagi
Top achievements
Rank 1
Share this question
or