SAPUI5 Calendar one row style










0















i got a question..



is there a option to get the deprecated single row calendar?`
for example my old one is like this



like this



but is the class sap.me.Calendar and it is deprecated.. and it is leading me to "
Deprecated as of version 1.26.0. This control was experimental since 1.12. Please use the sap.ui.unified.Calendar instead!"



but the ui.uinfied.Calendar dont have the option like singleRow="True" may i dont find it or im to stupid to see it :D



the ui.unifiend.Calendar looks like like this



so is there a option to get i like the deprecated?



thanks guys !!










share|improve this question






















  • I dont see a option for that, you most likely have to extend the control

    – Erch
    Nov 13 '18 at 6:19











  • Mhmm, when I am using the old one is it bad cause it is deprecated? Or it’s only don’t support anymore ?

    – Jünge alles
    Nov 13 '18 at 10:39











  • well not getting support is bad by itself... other than that i do not know why it got renewed in an other package, there might habe been other issues... just use the new one ;)

    – Erch
    Nov 13 '18 at 11:17











  • Thanks buddy, but for my understanding.. i cannot make it like the old one right ? Thanks

    – Jünge alles
    Nov 13 '18 at 14:20






  • 1





    it may be possible with the new one if you extend it

    – Erch
    Nov 14 '18 at 6:34















0















i got a question..



is there a option to get the deprecated single row calendar?`
for example my old one is like this



like this



but is the class sap.me.Calendar and it is deprecated.. and it is leading me to "
Deprecated as of version 1.26.0. This control was experimental since 1.12. Please use the sap.ui.unified.Calendar instead!"



but the ui.uinfied.Calendar dont have the option like singleRow="True" may i dont find it or im to stupid to see it :D



the ui.unifiend.Calendar looks like like this



so is there a option to get i like the deprecated?



thanks guys !!










share|improve this question






















  • I dont see a option for that, you most likely have to extend the control

    – Erch
    Nov 13 '18 at 6:19











  • Mhmm, when I am using the old one is it bad cause it is deprecated? Or it’s only don’t support anymore ?

    – Jünge alles
    Nov 13 '18 at 10:39











  • well not getting support is bad by itself... other than that i do not know why it got renewed in an other package, there might habe been other issues... just use the new one ;)

    – Erch
    Nov 13 '18 at 11:17











  • Thanks buddy, but for my understanding.. i cannot make it like the old one right ? Thanks

    – Jünge alles
    Nov 13 '18 at 14:20






  • 1





    it may be possible with the new one if you extend it

    – Erch
    Nov 14 '18 at 6:34













0












0








0








i got a question..



is there a option to get the deprecated single row calendar?`
for example my old one is like this



like this



but is the class sap.me.Calendar and it is deprecated.. and it is leading me to "
Deprecated as of version 1.26.0. This control was experimental since 1.12. Please use the sap.ui.unified.Calendar instead!"



but the ui.uinfied.Calendar dont have the option like singleRow="True" may i dont find it or im to stupid to see it :D



the ui.unifiend.Calendar looks like like this



so is there a option to get i like the deprecated?



thanks guys !!










share|improve this question














i got a question..



is there a option to get the deprecated single row calendar?`
for example my old one is like this



like this



but is the class sap.me.Calendar and it is deprecated.. and it is leading me to "
Deprecated as of version 1.26.0. This control was experimental since 1.12. Please use the sap.ui.unified.Calendar instead!"



but the ui.uinfied.Calendar dont have the option like singleRow="True" may i dont find it or im to stupid to see it :D



the ui.unifiend.Calendar looks like like this



so is there a option to get i like the deprecated?



thanks guys !!







javascript sapui5






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 12 '18 at 16:55









Jünge allesJünge alles

176




176












  • I dont see a option for that, you most likely have to extend the control

    – Erch
    Nov 13 '18 at 6:19











  • Mhmm, when I am using the old one is it bad cause it is deprecated? Or it’s only don’t support anymore ?

    – Jünge alles
    Nov 13 '18 at 10:39











  • well not getting support is bad by itself... other than that i do not know why it got renewed in an other package, there might habe been other issues... just use the new one ;)

    – Erch
    Nov 13 '18 at 11:17











  • Thanks buddy, but for my understanding.. i cannot make it like the old one right ? Thanks

    – Jünge alles
    Nov 13 '18 at 14:20






  • 1





    it may be possible with the new one if you extend it

    – Erch
    Nov 14 '18 at 6:34

















  • I dont see a option for that, you most likely have to extend the control

    – Erch
    Nov 13 '18 at 6:19











  • Mhmm, when I am using the old one is it bad cause it is deprecated? Or it’s only don’t support anymore ?

    – Jünge alles
    Nov 13 '18 at 10:39











  • well not getting support is bad by itself... other than that i do not know why it got renewed in an other package, there might habe been other issues... just use the new one ;)

    – Erch
    Nov 13 '18 at 11:17











  • Thanks buddy, but for my understanding.. i cannot make it like the old one right ? Thanks

    – Jünge alles
    Nov 13 '18 at 14:20






  • 1





    it may be possible with the new one if you extend it

    – Erch
    Nov 14 '18 at 6:34
















I dont see a option for that, you most likely have to extend the control

– Erch
Nov 13 '18 at 6:19





I dont see a option for that, you most likely have to extend the control

– Erch
Nov 13 '18 at 6:19













Mhmm, when I am using the old one is it bad cause it is deprecated? Or it’s only don’t support anymore ?

– Jünge alles
Nov 13 '18 at 10:39





Mhmm, when I am using the old one is it bad cause it is deprecated? Or it’s only don’t support anymore ?

– Jünge alles
Nov 13 '18 at 10:39













well not getting support is bad by itself... other than that i do not know why it got renewed in an other package, there might habe been other issues... just use the new one ;)

– Erch
Nov 13 '18 at 11:17





well not getting support is bad by itself... other than that i do not know why it got renewed in an other package, there might habe been other issues... just use the new one ;)

– Erch
Nov 13 '18 at 11:17













Thanks buddy, but for my understanding.. i cannot make it like the old one right ? Thanks

– Jünge alles
Nov 13 '18 at 14:20





Thanks buddy, but for my understanding.. i cannot make it like the old one right ? Thanks

– Jünge alles
Nov 13 '18 at 14:20




1




1





it may be possible with the new one if you extend it

– Erch
Nov 14 '18 at 6:34





it may be possible with the new one if you extend it

– Erch
Nov 14 '18 at 6:34












1 Answer
1






active

oldest

votes


















1














Under the sap.ui.unified, there is this control called the CalendarDateInterval. I think this might be what you're looking for.






sap.ui.getCore().attachInit(() => sap.ui.require([ 
"sap/ui/core/mvc/XMLView",
], (XMLView) =>
Promise.all([
sap.ui.getCore().loadLibrary("sap.m", true)
]).then(() => XMLView.create(
definition: `<mvc:View xmlns:mvc="sap.ui.core.mvc"
xmlns="sap.m"
xmlns:core="sap.ui.core"
xmlns:u="sap.ui.unified"
height="100%"
>
<u:CalendarDateInterval id="calendar" width="100%" select="handleCalendarSelect" showWeekNumbers="false"/>
</mvc:View>`
).then(view => view.placeAt("content")));
));

<script id="sap-ui-bootstrap"
src="https://openui5.hana.ondemand.com/resources/sap-ui-core.js"
data-sap-ui-libs="sap.m"
data-sap-ui-async="true"
data-sap-ui-compatversion="edge"
data-sap-ui-theme="sap_belize"
data-sap-ui-xx-waitfortheme="true"
data-sap-ui-xx-xml-processing="sequential"
></script>
<body id="content" class="sapUiBody sapUiSizeCompact" style="height: 100%;"></body>








share|improve this answer






















    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53266767%2fsapui5-calendar-one-row-style%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    Under the sap.ui.unified, there is this control called the CalendarDateInterval. I think this might be what you're looking for.






    sap.ui.getCore().attachInit(() => sap.ui.require([ 
    "sap/ui/core/mvc/XMLView",
    ], (XMLView) =>
    Promise.all([
    sap.ui.getCore().loadLibrary("sap.m", true)
    ]).then(() => XMLView.create(
    definition: `<mvc:View xmlns:mvc="sap.ui.core.mvc"
    xmlns="sap.m"
    xmlns:core="sap.ui.core"
    xmlns:u="sap.ui.unified"
    height="100%"
    >
    <u:CalendarDateInterval id="calendar" width="100%" select="handleCalendarSelect" showWeekNumbers="false"/>
    </mvc:View>`
    ).then(view => view.placeAt("content")));
    ));

    <script id="sap-ui-bootstrap"
    src="https://openui5.hana.ondemand.com/resources/sap-ui-core.js"
    data-sap-ui-libs="sap.m"
    data-sap-ui-async="true"
    data-sap-ui-compatversion="edge"
    data-sap-ui-theme="sap_belize"
    data-sap-ui-xx-waitfortheme="true"
    data-sap-ui-xx-xml-processing="sequential"
    ></script>
    <body id="content" class="sapUiBody sapUiSizeCompact" style="height: 100%;"></body>








    share|improve this answer



























      1














      Under the sap.ui.unified, there is this control called the CalendarDateInterval. I think this might be what you're looking for.






      sap.ui.getCore().attachInit(() => sap.ui.require([ 
      "sap/ui/core/mvc/XMLView",
      ], (XMLView) =>
      Promise.all([
      sap.ui.getCore().loadLibrary("sap.m", true)
      ]).then(() => XMLView.create(
      definition: `<mvc:View xmlns:mvc="sap.ui.core.mvc"
      xmlns="sap.m"
      xmlns:core="sap.ui.core"
      xmlns:u="sap.ui.unified"
      height="100%"
      >
      <u:CalendarDateInterval id="calendar" width="100%" select="handleCalendarSelect" showWeekNumbers="false"/>
      </mvc:View>`
      ).then(view => view.placeAt("content")));
      ));

      <script id="sap-ui-bootstrap"
      src="https://openui5.hana.ondemand.com/resources/sap-ui-core.js"
      data-sap-ui-libs="sap.m"
      data-sap-ui-async="true"
      data-sap-ui-compatversion="edge"
      data-sap-ui-theme="sap_belize"
      data-sap-ui-xx-waitfortheme="true"
      data-sap-ui-xx-xml-processing="sequential"
      ></script>
      <body id="content" class="sapUiBody sapUiSizeCompact" style="height: 100%;"></body>








      share|improve this answer

























        1












        1








        1







        Under the sap.ui.unified, there is this control called the CalendarDateInterval. I think this might be what you're looking for.






        sap.ui.getCore().attachInit(() => sap.ui.require([ 
        "sap/ui/core/mvc/XMLView",
        ], (XMLView) =>
        Promise.all([
        sap.ui.getCore().loadLibrary("sap.m", true)
        ]).then(() => XMLView.create(
        definition: `<mvc:View xmlns:mvc="sap.ui.core.mvc"
        xmlns="sap.m"
        xmlns:core="sap.ui.core"
        xmlns:u="sap.ui.unified"
        height="100%"
        >
        <u:CalendarDateInterval id="calendar" width="100%" select="handleCalendarSelect" showWeekNumbers="false"/>
        </mvc:View>`
        ).then(view => view.placeAt("content")));
        ));

        <script id="sap-ui-bootstrap"
        src="https://openui5.hana.ondemand.com/resources/sap-ui-core.js"
        data-sap-ui-libs="sap.m"
        data-sap-ui-async="true"
        data-sap-ui-compatversion="edge"
        data-sap-ui-theme="sap_belize"
        data-sap-ui-xx-waitfortheme="true"
        data-sap-ui-xx-xml-processing="sequential"
        ></script>
        <body id="content" class="sapUiBody sapUiSizeCompact" style="height: 100%;"></body>








        share|improve this answer













        Under the sap.ui.unified, there is this control called the CalendarDateInterval. I think this might be what you're looking for.






        sap.ui.getCore().attachInit(() => sap.ui.require([ 
        "sap/ui/core/mvc/XMLView",
        ], (XMLView) =>
        Promise.all([
        sap.ui.getCore().loadLibrary("sap.m", true)
        ]).then(() => XMLView.create(
        definition: `<mvc:View xmlns:mvc="sap.ui.core.mvc"
        xmlns="sap.m"
        xmlns:core="sap.ui.core"
        xmlns:u="sap.ui.unified"
        height="100%"
        >
        <u:CalendarDateInterval id="calendar" width="100%" select="handleCalendarSelect" showWeekNumbers="false"/>
        </mvc:View>`
        ).then(view => view.placeAt("content")));
        ));

        <script id="sap-ui-bootstrap"
        src="https://openui5.hana.ondemand.com/resources/sap-ui-core.js"
        data-sap-ui-libs="sap.m"
        data-sap-ui-async="true"
        data-sap-ui-compatversion="edge"
        data-sap-ui-theme="sap_belize"
        data-sap-ui-xx-waitfortheme="true"
        data-sap-ui-xx-xml-processing="sequential"
        ></script>
        <body id="content" class="sapUiBody sapUiSizeCompact" style="height: 100%;"></body>








        sap.ui.getCore().attachInit(() => sap.ui.require([ 
        "sap/ui/core/mvc/XMLView",
        ], (XMLView) =>
        Promise.all([
        sap.ui.getCore().loadLibrary("sap.m", true)
        ]).then(() => XMLView.create(
        definition: `<mvc:View xmlns:mvc="sap.ui.core.mvc"
        xmlns="sap.m"
        xmlns:core="sap.ui.core"
        xmlns:u="sap.ui.unified"
        height="100%"
        >
        <u:CalendarDateInterval id="calendar" width="100%" select="handleCalendarSelect" showWeekNumbers="false"/>
        </mvc:View>`
        ).then(view => view.placeAt("content")));
        ));

        <script id="sap-ui-bootstrap"
        src="https://openui5.hana.ondemand.com/resources/sap-ui-core.js"
        data-sap-ui-libs="sap.m"
        data-sap-ui-async="true"
        data-sap-ui-compatversion="edge"
        data-sap-ui-theme="sap_belize"
        data-sap-ui-xx-waitfortheme="true"
        data-sap-ui-xx-xml-processing="sequential"
        ></script>
        <body id="content" class="sapUiBody sapUiSizeCompact" style="height: 100%;"></body>





        sap.ui.getCore().attachInit(() => sap.ui.require([ 
        "sap/ui/core/mvc/XMLView",
        ], (XMLView) =>
        Promise.all([
        sap.ui.getCore().loadLibrary("sap.m", true)
        ]).then(() => XMLView.create(
        definition: `<mvc:View xmlns:mvc="sap.ui.core.mvc"
        xmlns="sap.m"
        xmlns:core="sap.ui.core"
        xmlns:u="sap.ui.unified"
        height="100%"
        >
        <u:CalendarDateInterval id="calendar" width="100%" select="handleCalendarSelect" showWeekNumbers="false"/>
        </mvc:View>`
        ).then(view => view.placeAt("content")));
        ));

        <script id="sap-ui-bootstrap"
        src="https://openui5.hana.ondemand.com/resources/sap-ui-core.js"
        data-sap-ui-libs="sap.m"
        data-sap-ui-async="true"
        data-sap-ui-compatversion="edge"
        data-sap-ui-theme="sap_belize"
        data-sap-ui-xx-waitfortheme="true"
        data-sap-ui-xx-xml-processing="sequential"
        ></script>
        <body id="content" class="sapUiBody sapUiSizeCompact" style="height: 100%;"></body>






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 19 '18 at 5:38









        d01ph1nd01ph1n

        1115




        1115



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53266767%2fsapui5-calendar-one-row-style%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Use pre created SQLite database for Android project in kotlin

            Darth Vader #20

            Ondo