Good afternoon, my name is amaro,
And I've been studying for a while the schedule and found that in making a new record, and completing the id field value (number), this is not included on the Schedule. I wonder if it is possible to enter an ID number other than the sequence of the Schedule to register a new appointment.
Thank you
Good afternoon, my name is amaro,
And I've been studying for a while the schedule and found that in making a new record, and completing the id field value (number), this is not included on the Schedule. I wonder if it is possible to enter an ID number other than the sequence of the Schedule to register a new appointment.
var obj = {}, temp = {}, rType;
var formelement = $("#customWindow").find("#custom").get(0);
for (var index = 0; index < formelement.length; index++) {
var columnName = formelement[index].name, $element = $(formelement[index]);
if (columnName != undefined) {
if (columnName == "")
columnName = formelement[index].id.replace(this._id, "");
if (columnName != "" && obj[columnName] == null) {
var value = formelement[index].value;
if (columnName == "Id" && value != "")
value = parseInt(value);
-------
if (columnName == "Id" && value == "")
value = "1000";
-------
if ($element.hasClass("e-datetimepicker"))
value = new Date(value);
if (formelement[index].type == "checkbox")
value = formelement[index].checked;
if (columnName == "freq") {
if (formelement[index].type == "select-one") {
rType = document.getElementById("rType");
temp[columnName] = rType.options[rType.selectedIndex].value;
}
}
obj[columnName] = value;
}
}
}
Thank you