I believe you are searching implementation of such bead in Jewel ?

https://github.com/apache/royale-asjs/issues/932

śr., 16 gru 2020 o 00:32 Alina Kazi <[email protected]> napisał(a):

> Hi Praveen,
> See that's the constructor for DateChooser in jewel.
> public function DateChooser()
> {
> super
> typeNames = "jewel datechooser";
> // default to today
> selectedDate = new Date();
> }
> if you can create your own custom class extending the current DateChooser
> and apply these disable changes in the custom class. It is possible you can
> override the original DateChooser Constructor and apply changes you want
> and then, use inherited 'CustomDateChooser' in your application.
>
> Again, i haven't tried this. It's just a suggestion based on your
> requirement.
>
> HTH,
> Alina Kazi
>
> On Wed, 16 Dec 2020, 4:16 am praveen captenarul, <[email protected]
> >
> wrote:
>
> > Hi Alina,
> >
> > I was trying the disabled option you suggested .So is the option to
> disable
> > in Jewel only to disable the entire calendar or can we disable part of
> the
> > dates .
> >
> > Example
> >
> > If today is 12/15 I  want only all dates after 12/15 disabled.
> >
> > Regards,
> > Praveen
> >
> > On Wed, Dec 9, 2020 at 9:34 AM Alina Kazi <[email protected]>
> wrote:
> >
> > > Hi,
> > > You can use the existing Disabled bead
> > > Like
> > > j:Disabled disabled={condition}
> > > condition can be true or false.
> > >
> > > You can also create your custom calendar and apply bead with conditions
> > and
> > > use it in your application.
> > >
> > > Regards
> > > Alina
> > >
> > >
> > >
> > >
> > >
> > > On Wed, 9 Dec 2020, 7:27 pm praveen captenarul, <
> > [email protected]>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I need to disable future dates in the date picker calendar . I also
> > need
> > > to
> > > > disable the weekends.
> > > >
> > > > Is there any utility for this disable feature in royale
> > > >
> > > > Regards,
> > > > Praveen.
> > > >
> > >
> >
>


-- 

Piotr Zarzycki

Reply via email to