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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Displaying Sessions List

(0) ShareShare
ReportReport
Posted on by 90

Hello All,

We have a requirement in which our client expects to display a session list as mentioned below

The List should display all events per day in two different lists

pastedimage1607946829775v1.png

But what i achieved is below list all sessions are displayed only in one column

pastedimage1607946913644v2.png

Could any one please help us on how to achieve desired output.

Regards

Abhilash

I have the same question (0)
  • Verified answer
    cloflyMao Profile Picture
    25,210 on at

    Hi Abhilash,

    By default, sample event website has implemented a drop down list to aggregate sessions by their date and show sessions dynamically by date based on the selected option.

    Therefore, you could just add some simple customization to make use of the existing code to extend functionality.

    1. In sessions.component.html, insert the container containing custom contents after drop down list container.

    Day {{index}}

    q1.JPG

    As you can see, we will create a variable "index" in corresponding ts file to get index of the selected option and render it as number of day, and bind a custom function to OnChange event of the drop down list.

    (In addition, there is a Boolean variable "showIndex" to control display of custom content.(By default, the variable is set to false.)

    (change)='setDayIndex()'

    2. In the ts, declare two custom variables.

    index: number;
    showIndex: boolean = false;
     

    At bottom of source code, add the custom function to assign index of the selected option to custom variable.

    public setDayIndex():void {
        this.showIndex = true;
        this.index = this.dateKeys.findIndex(item => item === this.selectedDateKey)   1;
    }

    Test

    2021.gif

    Regards,

    Clofly

  • Abhilash_Reddy Profile Picture
    90 on at

    Thank you Clofly for your inputs. it is really helpful for us.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 131 Super User 2026 Season 1

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 46 Most Valuable Professional

#3
NeerajPawar Profile Picture

NeerajPawar 41

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans