web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Is there any possible ...
Power Apps
Unanswered

Is there any possible to implement a timeline control using gallery with collection?

(0) ShareShare
ReportReport
Posted on by 126

I have a collection which contains start date, end date and duration(days). Is there any possible to make a gallery showing as the second picture with my collection? How to set a dynamic template width?

Zhangzhonghao_0-1608295804056.png

Zhangzhonghao_1-1608295839140.png

 

Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    68,697 Most Valuable Professional on at

    I don't think this is possible because the Template Width value applies to all the items in the gallery.  What you would need is to have a different Template Width for each item.  That's not possible to the best of my knowledge.

  • Zhangzhonghao Profile Picture
    126 on at

    @Pstork1 Thanks for your information! Is there any other way to implement this?

  • Pstork1 Profile Picture
    68,697 Most Valuable Professional on at

    No way to do it using the available controls.  You would have to build your own control and I'm still not sure how it would work.

  • rebeccas Profile Picture
    2,591 on at

    There are a few different ways you could do it for that. Will you data have dates that overlap at any point?

     

    If so you could have the details of all items show under the dates like this:

    rebeccas_0-1608298185060.png

     

    If it won't overlap you could add in a "Blank flexible height" gallery. The items for it would be your collection and you could add in a label to show your start and end date or just put on the tool tip of the box. Then add in a box and set the height to something like ThisItem.Duration * 10 (you might have to adjust that 10 up and down until you find your sweet spot). 

     

    This will make the box show a height based on your value and the gallery adjust to fit it. Like this:

     

    rebeccas_2-1608299507669.png

     

     

     

     

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard