0

I am working on Nativescript application where i have need for From date to To date (Range of date). I tried to implement RadCalendar but i could not find method or attribute for multiple dates selection OR dates range selection.

Below is my XML code for calander view

<Page xmlns="http://www.nativescript.org/tns.xsd" 
  xmlns:calendar="nativescript-telerik-ui-pro/calendar"
  showingModally="onLoaded">
    <StackLayout id="calendarModal" width="90%" height="65%" horizontalAlignment="center" verticalAlignment="center" backgroundColor="white" opacity="1">
        <StackLayout class="popup-wrapper">
            <calendar:RadCalendar id="calendar" dateSelected="onDateSelected" />
        </StackLayout>
    </StackLayout>
</Page>

Thanks.

4

1 回答 1

1

我用过selectionMode属性。参考

其他可用选项是

  1. 没有任何
  2. 范围
  3. 单身的

XML

<calendar:RadCalendar id="calendar" dateSelected="onDateSelected" selectionMode="Range" />
于 2016-08-31T04:10:46.847 回答