Display more task per cell

2 posts, 0 answers
  1. Edward
    Edward avatar
    29 posts
    Member since:
    Aug 2014

    Posted 06 Nov 2014 Link to this post

    I have a scheduler that is using:

    .AllDayEventTemplate(
        "<div class='asset-task' style='color: black; background-color: #= Color #' title='#= title # \nAsset: #= AssetName # \nOwner: #= OwnerName #'>" +
            "<strong>#= title #</strong>" +
            "<p>" +
                "<strong>Asset: </strong>#= AssetName #" +
                "<br>" +
                "<strong>Owner: </strong>#= OwnerName #" +
            "</p>" +
        "</div>"
    )

    The width of the task is the width of the grid cell.  Below the task there is a bar that you can click that will take you to the day view.  See attachment "image1".
    I want to shrink the width down to display several task.  See attachment "image2"  (This is a doctored image I did in paint)

    How can I do this?
  2. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 10 Nov 2014 Link to this post

    Hi Matt,

    Displaying more than one event on the same row is not supported in the Scheduler "Month" view - if you need to modify this behavior you should create custom view by extending the existing "Month" view and override the functions responsible for positioning the events. As a starting point you can check the following example which demonstrates how you can extend the build-in views:


    Regards,
    Vladimir Iliev
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top