remove Default selection from klazuka/Kal Calendar - ios

Does anyone uses this calendar ? is there any way to remove first day selection from it? I want to put an animation(show/hide) on Calendar frame when date is changed, but this event also fires when month is changing.

solved, just remove self.selectedTile = [frontMonthView firstTileOfMonth]; from slide method on KalGridView file

Related

Get current time in a cell and stop it from changing

Intuitively, one'd use =now() to get current time in a cell. However, every time some changes are made to the sheet, the cell's value changes to the current time. I only want to get the timestamp when the cell is filled for the first time, and it shouldn't change after that.
How can I do this?
If you just want to insert date or time once you can apply one of these shortcuts:
Place the cursor into the cell of interest and press one of the
following shortcuts:
Ctrl+; (semicolon) to enter the current date.
Ctrl+Shift+; (semicolon) to enter the current time.
Ctrl+Alt+Shift+; (semicolon) to add both,
current date and time.
Reference

ios:Date picker with short format

I want a date picker like this one, with the month name in short format:
But this is what I get:
This has the full month name, which is not what I want.
I set date picker mode like this:
mydatepicker.datepickermode = datepickermode.date
but it's not working.
Embedded datePicker is not very flexible to adjust. The way to solve your issue is to create your own picker by using UIPickerView. You need to create a picker with 3 components and configure it depending on your wishes. But this way is a little bit annoying, because you need to keep in mind, that every month has it's own number of days. And don't forget also about 29th of February.

datepicker calendar disappears when scrolling on mobile/tablet

datepicker calendar disappears when scrolling on mobile/tablet.
When i click the field (on mobile or tablet) Date , the calender appears but when i want to scroll ( you have to touch the screen to scroll) the calendar dissapears. It's very annoying, because that's the last thing i need to get it working.
You can view the date field below:
http://domburghome.com/domburg/index.php/hotel/jan-tooropstraat-2a/
please can somebody help me. thnxx
This is old, but was in the top results when I was searching for solutions, so here's how I fixed it. If you are using the Bootstrap datepicker, check for the mousedown event handler and see if it is also bound to touchstart. Simply remove the touchstart.
$(document), {
'mousedown touchstart': $.proxy(function(e){
change this to
$(document), {
'mousedown': $.proxy(function(e){
Commit is here: https://github.com/uxsolutions/bootstrap-datepicker/pull/1284

How to create a simple(custom) time picker with just two colomns, hour and minute?

I want to make a simple TimePicker like this :
If I use UITableView then how do I know that middle row/cell is selected ? Also the last row/cell will never be in middle. Apart from that, It has to be two tableViews as both hour selection and minute selection needs to be separate.
If I use two scrollViews , still how to figure out when an item is exactly in the middle and should be considered as selected item.
I could not find any customization options in the default date time picker.
Secondly , my picker is very simple one, yet I am not able to find a proper method to create this type of picker.
I cannot use the default picker, because it has different design which is not what I want.
Any help is appreciated.
Thanks
If I understand you right, you want only time in your picker and design it? From storyboard you can select wheather it is "Time", "Date", "Date & time" etc. Just slect your picker and from right select attributes.
But for design I suggest you to try these lines of codes:
datePicker.backgroundColor = UIColor.whiteColor() //It is for background color
datePicker.setValue(UIColor.whiteColor(), forKeyPath: "textColor")//It is for text color
self.datePicker.performSelector("_setHighlightColor:", withObject:Constants.Colors.mainHeaderColor) //This should be higlight color
And I suggest you to read this topic.
Apple have a specific picker specifically for dates and times.
let picker = UIDatePicker()
picker.datePickerMode = UIDatePickerMode.Time

How can we change the Date Picker Format When the toggle set to All Day

Just Making Calendar app which i have the same requirement as IOS calendar. In that All Day toggle Changes To Different Date Formatting And DatePicker Style is also different. How can i deal with that?.
Use NSDateFormatter and when user change the toggle update format of date using Date formatter and load new format in Picker.
you have option to create another picker otherwise you have to define condition on the picker delegate to show the new date format or your required format .
when you first time open the picker than the content would load on to the picker may be there is a chance when you pass the command to change format than the picker is still showing previous content than you need to reload the picker content to update the picker content value and to show the updated format type content.
may this could help you.

Resources