Jump to content

Search the Community

Showing results for tags 'disabledates'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • uniGUI Public
    • Announcements
    • General
    • Feature Requests
    • Installation
    • Deployment
    • Other Platforms
  • Licensing
    • Licensing
    • Ordering uniGUI
  • Bug Reports
    • Active Reports
    • Closed Reports
    • Old Bug Reports
  • uniGUI Development
    • General Development
    • uniGUI Releases & Roadmaps
    • Utilities
  • Mobile Platform
    • uniGUI Mobile
    • Mobile Browsers
  • Users Area
    • Sample Projects
    • Components and Code Samples
    • Third Party Components
  • Non-English
    • Non-English
  • Miscellaneous
    • Hosting
    • Server Security
    • Jobs

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Hello! I have a UniDateTimePicker on form. MinDate, MaxDate and DisableDates are calculated dynamically from database depending on selected year. And there is a trouble - once DisabledDates is set I don't know how to clear it when it's nesessary. I've made a test project in which follow actions should be done: 1. Select 2019 in field "Year", press "RestrictDates" button. Result: MinDate = 15.01.2019, maxDate = 13.12.2019, some dates are disabled (including 07.12.2019, 08.12.2019,10.12.2019), current value = 13.12.2019 2. Select 2020 in field "Year", press "RestrictDates" button. Result: MinDate = 01.01.2020, maxDate = current date, some dates are disabled (including 31.07.2020,01.08.2020,02.08.2020), current value = current date 3. Select 2021 in field "Year", press "RestrictDates" button. Expectable result: MinDate, MaxDate are not restricted, no dates disabled, current value = 01.01.2021. Fact result: All dates are disabled, current date highlited as invalid https://drive.google.com/file/d/1odvEb8uklcPRvNWUMP7zgosBACcsw3aA/view?usp=sharing I've tried several ways to clear disabled dates UniSession.AddJS(dePaymentDate.JSName + '.setDisabledDates(null);'); // No effect UniSession.AddJS(dePaymentDate.JSName + '.setDisabledDates([]);'); // No effect UniSession.AddJS(dePaymentDate.JSName + '.setDisabledDates(['''']);'); // All dates are disables UniSession.AddJS(dePaymentDate.JSName + '.setDisabledDates('''');'); // All dates are disables Please, tell me, what I've done wrong? Thank you for advance!
×
×
  • Create New...