DhirendraBisht
DhirendraBisht

Reputation: 110

add jquery datetimepicker to jqxgrid column of jqwidgets

I want to add jquery datetimepicker to a column of jqxgrid. I tried to add by:

initeditor: function (row, cellvalue, editor) {
            editor.datetimepicker();
}

But this is not working.

Please help. Thanks in advance.

Upvotes: 0

Views: 566

Answers (1)

ohlmar
ohlmar

Reputation: 956

You need to use this fuction in the column:

createeditor: function (row, cellvalue, editor) {
     editor.datetimepicker();
}

This fuction is called when you initialize the column.

Upvotes: 1

Related Questions