JavaFX DatePicker with multiple choice - javafx

I need to choose more than one date from calendar. Is there some useful component? I've tried to use https://kenai.com/projects/jfxcalendarpicker/pages/Home in multiple mode, but it has some critical bugs for me.

Related

Is it possible to extend the DatePicker control

I have a UWP app that has many Date entry fields and I currently use the DatePicker to provide the three spinners for day, month and year. In most cases this works well for my users, but where the field is a date of birth it's causing some issues for the users. They are complaining about having to scroll back through the years, in some cases many of them. Is there a way to extend or override the spinner for the year to change the behaviour of the arrow buttons to skip forward or backward ten at a time?
I've looked at using the CalendarView but I think this introduces UX issues when selecting the actual day, I feel it's more suited for mouse use rather than touch.
Any help or pointers much appreciated

How to implement Resource/Day view (e.g. Show columns on Day view for each staff member)

We are currently using an old version of FullCalendar with a custom “fork” of FullCalendar that adds support for the “ResourceDay” view (the way it shows columns on Day view for each staff member).
We want to upgrade to FullCalendar 2.x and i have a question. Is it possible to implement Resource/Day view (e.g. Show columns on Day view for each staff member) using the custom view approach in FullCalendar 2.x (http://fullcalendar.io/docs/views/Custom_Views/)
We would really appreciate your suggestions on this.
My recommendation is to wait for the official timeline view. You can read about it here.
Basically it will be a resource-like view that will probably cost money unless your project is under GPL. But it will be an official and robust version and way less work than building it yourself.
There are several open source forks of this that have tried adding it. Look at these tickets:
https://code.google.com/p/fullcalendar/issues/detail?id=490
https://code.google.com/p/fullcalendar/issues/detail?id=150#c31
Some of which are not available now, or available but have issues compiling.
This is a jQuery plugin that might help you: https://github.com/thegrubbsian/jquery.ganttView
But it has nothing to do with Fullcalendar. If you are wanting its event model to interface with your application then this might not work for you.

angular-ui bootstrap datepicker multiple date selection

It seems lite angular-ui/bootstrap/datepicker cannot be configured for multiple date selection.
Is there someone who have implemented a hack or have a good idea where to start modifying the source to enable selection of multiple date in a single datepicker?
I've googled for this same answer today and found this:
https://github.com/spongessuck/gm.datepickerMultiSelect
I noticed that the project initial commit is newer than this question and maybe you already solved the problem, but the link can be usefull to someone reading this.
You may try this plugin: MultipleDatePicker
MultipleDatePicker is an Angular directive to show a simple calendar allowing user to select multiple dates with a bunch of options to customize it.
GitHub link

Creating a table dynamically, with multiple lines of text in each cell and each cell being clickable, in ASP.NET

I'm trying to design a calendar-type table that is built dynamically based on data from a separate database source.
This is an illustration of the basic design idea:
Here's an image:
If an object was added that was referenced to a Saturday, another column would be added and if the one on Monday was removed, the column would disappear and vice versa.
The weekdays are column headers and the squares represents cells with some lines of information. Each cell in its whole should be clickable.
The entire table should show a single month only.
I'm thinking this might be very time consuming to implement, and will quite quickly become impossible to re-read and understand later on if it isn't designed right. So if anyone has a more simple way to implement a month-view of a calendar, with some lines of information stored in each cell, and a possibility to call Server.Transfer() on the click event of a cell, it would be just as ideal.
As far as I know, the Calendar component doesn't support editing the contents of the cells in calendar, and other than that I don't really know which way would be the best way to go.
If I can improve the question in any way, please let me know.
I think what you want is not a Calendar, but rather a Scheduler control, which includes functionality to display a calendar view, add/edit "appointments" and provide events of what happens when you click them.
This thread lists a lot of such Scheduler control that you can use, some of them free.
Here are some additional links that implement similar functionality:
http://www.rekenwonder.com/aspnet/schedule.html
http://www.codeproject.com/Articles/7619/Databound-Schedule-Controls
http://www.codeproject.com/Articles/31766/DayPilot-Scheduler-Control-for-ASP-NET
I think reusing one of those components and spending some time to research them would be much less time consuming that implementing your own solution from scratch. If what you want falls into those common UI patterns supported by those controls, you'll be fine.
If, on the other hand what you want is not a common practice, you may rethink your approach.

Customizing QDialog layout at runtime

I have Qt dialogs which need to adjust for a different locale at runtime.
The locale is set once at program startup and doesn't change.
I need to change both the label text and the ORDER of some text input boxes.
eg. Text boxes are day,month,year or month,day,year.
Is there a common/simple way to do this?
(note - it's not a simple date control, it's a complex industry specific thing. The date is just an example.)
If you are looking for a full automatic way to handle this, it would be too complicated because of a lot of scenarios and requirements.
A simple and intuitive way is to use QStackedWidget and put different layout on separate stacks, activate one stack according to locale at runtime. But how to handle the events or acquire data? embeded UI may help.

Resources