Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to select multiple dates on Calendar

    I'm using com.smartgwt.client.widgets.calendar.Calendar based on the Compact Calendar example in Showcase for SmartGWT v 2.5

    When a user clicks on a dayBody, the dayBody is selected and highlighted in green. My question is, is there a way to select more than one date? i.e when the user clicks on multiple dates one after the other, they all remain selected?

    #2
    Have you found answer to your question ? I want to achieve the same effect.

    Comment


      #3
      Have you found answer to your question ? I want to achieve the same effect.
      Same here, for SC 8.2 ENT.

      Thanks,


      skaos

      Comment


        #4
        To do this, you would need to use dayBodyClick and have your own logical model of multiple days being selected, and override getDayBodyHTML() to output HTML that visually reflected whether you regard the day as selected or not.

        Comment

        Working...
        X