The calendar cannot be clicked. There is' class = "k-state-disabled" on the td label of the calendar.
thanks,
Neli
Telerik team
commented on 09 Aug 2021, 10:51 AM
Hi Shen,
Could you please elaborate a little bit more on the exact scenario? Please send us more information about the configuration on your side and also the steps needed in order to replicate the issue. Does the issue reproducible in our online Demos?
I want to know when the calendar can't be clicked. I really want to send my code, but my code is very, very long and inconvenient, so I recorded a video and sent it to you
Regards,
Shen
Neli
Telerik team
commented on 12 Aug 2021, 09:36 AM
Hi Zhongjie,
I would suggest you review the Spreadsheet custom cell editor demo and ensure that the implementation is similar to the one demonstrated for the date cell in the demo. Below you will find the respective code:
rows: [{
cells: [
{ value: "Select date:", bold: true },
{ format: "MMMM d, yyyy",
background: "#fef0cd",
validation: {
dataType: "date",
showButton: true,
comparerType: "between",
from: 'DATEVALUE("1/1/1900")',
to: 'DATEVALUE("1/1/2100")',
allowNulls: true,
type: "reject",
titleTemplate: "Selected Date validation error",
messageTemplate: "Selected Date should be between year 1900 and 2100."
} }
]
}, {....
Could you please make sure that there are no errors in the console, by the time you are selecting a date in the DatePicker?
In case the issue continues to persist could you please modify the Dojo example linked here in order to replicate the behavior the way it is on your side and send it back for a review?
I hope you will find the provided information helpful.
Thank you for your advice,I've tried your example. The reason why the calendar can't be clicked is that it's Chinese. There's no problem in English. As long as you use Chinese, there will be problems.
As long as the above code is executed, the calendar cannot be clicked
Regards,
Zhongjie,
Neli
Telerik team
commented on 18 Aug 2021, 02:35 PM
Hi Shen,
I managed to replicate the issue by changing the culture in the example. I will need some more time to review the case. I will get back to you once I have more information to share.
Thank you very much for your patience.
Neli
Telerik team
commented on 19 Aug 2021, 09:20 AM
Hi Shen,
You could also try to use Spreadsheet custom cell Editors and configure DatePicker for the needed cells.
Hi Shen,
Could you please elaborate a little bit more on the exact scenario? Please send us more information about the configuration on your side and also the steps needed in order to replicate the issue. Does the issue reproducible in our online Demos?
Looking forward to your reply.
Regards,
Neli
Hi Neli,
I want to know when the calendar can't be clicked. I really want to send my code, but my code is very, very long and inconvenient, so I recorded a video and sent it to you
Regards,
Shen
Hi Zhongjie,
I would suggest you review the Spreadsheet custom cell editor demo and ensure that the implementation is similar to the one demonstrated for the date cell in the demo. Below you will find the respective code:
rows: [{ cells: [ { value: "Select date:", bold: true }, { format: "MMMM d, yyyy", background: "#fef0cd", validation: { dataType: "date", showButton: true, comparerType: "between", from: 'DATEVALUE("1/1/1900")', to: 'DATEVALUE("1/1/2100")', allowNulls: true, type: "reject", titleTemplate: "Selected Date validation error", messageTemplate: "Selected Date should be between year 1900 and 2100." } } ] }, {....
Could you please make sure that there are no errors in the console, by the time you are selecting a date in the DatePicker?
In case the issue continues to persist could you please modify the Dojo example linked here in order to replicate the behavior the way it is on your side and send it back for a review?
I hope you will find the provided information helpful.
Regards,
Neli
Hi Neli,
Thank you for your advice,I've tried your example. The reason why the calendar can't be clicked is that it's Chinese. There's no problem in English. As long as you use Chinese, there will be problems.
As long as the above code is executed, the calendar cannot be clicked
Regards,
Zhongjie,
Hi Shen,
I managed to replicate the issue by changing the culture in the example. I will need some more time to review the case. I will get back to you once I have more information to share.
Thank you very much for your patience.
Hi Shen,
You could also try to use Spreadsheet custom cell Editors and configure DatePicker for the needed cells.
- https://docs.telerik.com/kendo-ui/controls/data-management/spreadsheet/custom-editors
Let me know in case you have additional questions.
Regards,
Neli