Unable to remove 'Today' link from Kendo datepicker angular - kendo-ui

I want to remove 'Today' link from top of the kendo date picker. It should restrict the user to select only Year and not to select Today's date.
<kendo-datepicker formControlName="bg" [bottomView]="'decade'" [topView]="'decade'" [format]="'dd MMM yyyy'">

There is no dedicated built-in option to set the visibility of the "Today" UI, so hiding it through CSS is the most straight-forward option, e.g.:
https://stackblitz.com/edit/angular-zujtgh?file=src%2Fapp%2Fapp.component.ts

Related

Default year view on v-date-picker

On v-date-picker, when clicking on the input field I want the date dialog to default to the year view (please see pic below). Which Vuetify's property I can use? Or a code sample that I can add on the mounted() section.
Got the solution on the Docs under the "Date pickers - birthday picker" example.
https://v1.vuetifyjs.com/en/components/date-pickers

SetTitle of Data Picker instead of getting Today Date in Xamarin Forms

I had a datepicker in which I am getting default system date during its Initialization.But I don't want default date.I need to get a Title(Select Date) similar to PikcerTitle in Xamarin.Forms. Anyone please help me to bring a solution for my problem.Thanks in advance.
You can add a label and datepicker instead of just datepicker and hide datepicker. Add a tap gesture to the label, on the tap focus the datepicker and bind the text of the label to the datepicker's date.
On page load add your desired text in the label.

PPT Timestamp Autoupdate with formatting

In ppt we can possible create a footer timestamp, however what I need is just 'mmm YYYY', which is not provided by the ppt default options. Is it possible to access it and type in my own formatstring? Many Thanks.
In PowerPoint 2013, go to INSERT tab, then select Header & Footer, then you will see a dialog like this:
Here you should tick Date and time, then choose Fixed and edit your own footer, then select Apply to All.
After this, you will see all your slides are embedded with your own footer, a sample is attached below:
In the Header and Footer dialog box, when you put a check next to Date and time and choose Update automatically, the first choice on the dropdown listbox is the Windows short date format. If you customize this in Control Panel to mmmm YYYY, it will show August 2014 in PowerPoint.
Of course this will only work on your system. When you move it to another computer, it'll use that computer's default short date format.

Change date when month is changed using month navigator in kendo UI date picker

I am using kendo ui date picker,
I have a requirement that suppose currently 26 june 2014 is selected, when change the month using month naivgator to july, it should automatically select the 26 date in july month
I don't think it is a good to do it (based on user experience point of view).
Example: I already choose 26 June 2014, then I change the month by pressing the arrow to next month.
I may just want to do it because I want to browse or check what is next month, without having intention to select the date from next month.
And what I see currently from kendo calendar, kendo already automatically mark the selected date (26) with the box, which is good from user experience perspective
So the answer is : it is not recommended to do it, unless you have strong reason to do it.
However, you still can probably do it by using navigate event handler
function onNavigate() {
/*do something*/
}
$("#calendar").kendoCalendar({
navigate: onNavigate
});

Manual input date in Kendo Grid DatePicker not working

I'm facing a problem that I can't understand. I'm using Kendo Grid with InCell edit and I have a DateTime field in my Model.
When the grid enters in edit mode, the calendar is shown, but the grid only saves the inputed value if I select the value from the calendar. If I input the field manually, the value is not saved and the cell is not marked has dirty.
If it helps, I'm using MVC with Razor sintax.
Tks in advance!
I've found a workaround in Kendo's forums:
By design, the DatePicker does not raise the change event when the value is set programmatically - it raises only if the date is modified by the end-user. In case you need to trigger the change event, you can use jQuery trigger().
For example:
var datePicker = $("#datepicker").data("kendoDatePicker");
datePicker.value("01/01/2001");
datePicker.trigger("change");
Reference:
http://www.kendoui.com/forums/ui/date-time-pickers/datepicker-change-event.aspx
So basically what I did was to force the change event manually.

Resources