Angular Calendar for selected dates

rashmitha r 21 Reputation points
2022-09-21T15:26:21.643+00:00

Hello, I want to design a table which contains days aof week, Iam pushing dates from angular js using below code243502-angular.png, Now designed using ng-repeat 243477-html.png

Now it is showing output as proper dates from given range of dates as below243541-calendar.png

But the problem is i want that in each row contains 7 number, after sunday it should repeat in next colum and if i click on sunday checkbox then all dates with sunday should be checked and so on. please suggest me a solution to succeed this. thank you in advance

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,228 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 57,646 Reputation points
    2022-09-21T18:20:23.307+00:00

    you should redesign the calendar dates to be a list weeks where each week is a list of days.

    then you can do <tr> repeat and in the <tr> repeat do a <td> repeat.

    0 comments No comments