locked
how to horizontally scroll screen? RRS feed

  • Question

  • I am developing an html client in vs2013 and would like one of my screens to scroll horizontally.  I've tried css changes, but that doesn't seem to work.

    So then I tried putting all the content inside a CustomControl:

    -Screen

    --Tabs

    ---Custom Control

    -----Columns Layout

    ------Etc..

    Then in the render code for the custom control I've tried:

    myapp.UserWorkspace_View.content_render = function (element, contentItem) {
        // Write code here.
        var itemTemplate = $("<div>" + contentItem.details.value + "</div>");
        itemTemplate.appendTo($(element));
       };
     

    But I can't figure out how to render the contents of the Custom Control.

     

    Tuesday, November 12, 2013 1:12 AM

Answers

  • Hi,

    Beth Massi's blog will be helpful for you to get scrollbars and splitters under control - LightSwitch Screen Tips: Scrollbars and Splitters http://blogs.msdn.com/b/bethmassi/archive/2012/02/09/lightswitch-screen-tips-scrollbars-and-splitters.aspx

    hope it helps,

    Regards


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

    • Marked as answer by Angie Xu Monday, November 25, 2013 1:59 AM
    Wednesday, November 20, 2013 3:08 AM