Hello Team,
I just want to set time column 00:00 Currently time is set to current time please help I am using below code to generate blank row and want to set default 00:00 in InTime
var generaterow = function () {
//var time = new Date().setHours(0, 0, 0, 0);
var row = {};
row[“TimeIn”] =new Date();
row[“TimeOut”] = new Date();
row[“Hours”] = 0;
row[“Title”] = “Select…”;
row[“Billable”] = false;
row[“Comments”] = “”;
return row;
}
and I am creating column as code given below
{
text: ‘Out’, datafield: ‘TimeOut’, width: ‘9%’, columntype: ‘datetimeinput’, cellsformat: “t”,
createeditor: function (row, value, editor) {
editor.jqxDateTimeInput({ formatString: ‘t’, showCalendarButton: false });
}
if i am setting row[“TimeIn”]=time grid not working.