Add text to the resource group header, and adding another column

6 posts, 0 answers
  1. Brent
    Brent avatar
    5 posts
    Member since:
    May 2015

    Posted 16 Mar Link to this post

    I have two things I'm trying to do using the Kendo UI scheduler in Timeline view:

    1. I want to add some text above all of the resources, to specify what the resources are.  The attached picture shows the location where I want to add the text.  Is there a way to do this?

    2. I would also like to add a second column next to the resource column that contains additional information from the event.  Is there a way to do this as well?

  2. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 18 Mar Link to this post

    Hi Brent,

    Please check the answers of your questions below:

    1) This can be done by using the "dataBound" event to manually find the cell and populate it's text. Another possible solution is to create custom view by extending one of the build-in ones, however this approach is not recommend for small customization.

    2) I'm not sure that I understand what exactly you are trying to achieve - could you please elaborate more on this and provide more screenshots? This would help me advice you better how to proceed.

    Regards,
    Vladimir Iliev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. Brent
    Brent avatar
    5 posts
    Member since:
    May 2015

    Posted 18 Mar in reply to Vladimir Iliev Link to this post

    Thanks Vladimir.  Regarding question #1, how do I know which cell it is to set the text?

    I have attached another screenshot to explain what I'm trying to do.  I basically what to show text from a field on the event.  In all of the examples it shows having multiple groups of resources, but I don't want to do this - instead I want to group by one resource and add an extra column, similar to how the gantt control works.  Does that make sense?

  5. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 21 Mar Link to this post

    Hello,


    From the provided screenshot it seems that you scenario is good candidate for using Scheduler resources and group the data by the defined resource (Employee in current case). For more information on the matter I would suggest to check the following help article and demo:

    Regards,
    Vladimir Iliev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  6. Brent
    Brent avatar
    5 posts
    Member since:
    May 2015

    Posted 22 Mar in reply to Vladimir Iliev Link to this post

    Hi Vladimir,

    I am already grouping the resources vertically, so your suggestion is not what I want.  If I add two sets of resources like the demo shows, it duplicates the first set of resources for each second resource.  This demo here is not the behavior I'm looking for (http://demos.telerik.com/kendo-ui/scheduler/resources-grouping-vertical).  I'm looking for one resource group, and add a second column like the picture I posted above shows.

    What I want is very similar to how the Gantt control is working, where you have multiple columns on the left that show information from the event, then the schedule on the right.

    Does that make sense?

  7. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 23 Mar Link to this post

    Hello Brent,

    The desired behavior is not supported out of the box and it will require creating custom view which falls outside the scope of this support service. Curently I could only suggest to use the following example as starting point:

    Regards,
    Vladimir Iliev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top
Kendo UI is VS 2017 Ready