Some Editor documentation bug reports

Some Editor documentation bug reports

ahanssens@cps247.comahanssens@cps247.com Posts: 13Questions: 1Answers: 0

When the JQueryUI datepicker is being used, the field definitions for the DataTables Editor need to include "dateFormat" and "def" properties or date editing will not work properly. This is shown in the example at https://editor.datatables.net/examples/simple/dates.html. However, the example at https://editor.datatables.net/examples/styling/jqueryui.html does not include the properties, so when you try to edit one of the lines, the date is displayed as 2021.

The example code at https://editor.datatables.net/manual/net/mvc does not show that you need to use the get and set formatters to get date editing working properly (as we discussed in https://datatables.net/forums/discussion/29290/how-can-i-define-a-model-property-as-a-datetime-and-have-it-work-properly). That is how I originally ran into the problem in that discussion thread -- I copied the code from the web page, rather than the example program.

Replies

  • allanallan Posts: 61,657Questions: 1Answers: 10,094 Site admin

    Thanks for pointing these out! Both will be addressed with the 1.5 release.

    Allan

This discussion has been closed.