This is a migrated thread and some comments may be shown as answers.

masked date input in grid cell

3 Answers 178 Views
This is a migrated thread and some comments may be shown as answers.
Ulf
Top achievements
Rank 1
Ulf asked on 10 Aug 2018, 08:46 AM

Hi all,

using the kendo-datetimepicker, you can force the masked date input with the prop: dateInput=true.

https://docs.telerik.com/kendo-ui/api/javascript/ui/datetimepicker/configuration/dateinput

Is this functionality also available for table cells, or how can this be achieved?

Regards

ulf

3 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 13 Aug 2018, 02:17 PM
Hello Ulf,

Could you elaborate a bit more on what is the exact scenario that you would like to achieve? 

In general, if you would like to setup a custom editor for a Grid column, then this could be achieved through the :editor prop of the <kendo-grid-column> component. There is an existing demo that demonstrates how such an editor can be configured:

Regards,
Dimitar
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Marius
Top achievements
Rank 1
answered on 03 Sep 2018, 07:44 AM

Hello Dimitar

Does not see the editor in the doc, and the link does not work .

0
Dimitar
Telerik team
answered on 03 Sep 2018, 08:17 AM
Hello Marius,

Here is a working link for Custom Editor in the Kendo Grid:


You will notice that the column editor is defined through the :editor="categoryDropDownEditor" and is then initialized from a Vue method:
methods: {
  categoryDropDownEditor: function(container, options) {
    $('<input required name="' + options.field + '"/>')
     .appendTo(container)
     .kendoDropDownList({
      autoBind: false,
      dataTextField: "CategoryName",
      dataValueField: "CategoryID",
      dataSource: {
        type: "odata",
        transport: {
        }
      }
    });
  }
}

Regards,
Dimitar
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Asked by
Ulf
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Marius
Top achievements
Rank 1
Share this question
or