Hello people,
this is my configuraiton of lightbox. When I run application I can not see “type” field property in the lightbox form - description and time I see, but type can not be seen. Please, what can be the problem?
gantt.config.lightbox.sections = [
{ name: "description", height: 70, map_to: "text", type: "textarea", focus: true },
{ name: "type", type: "typeselect", map_to: "type" },
{ name: "time", height: 72, type: "duration", map_to: "auto" }
];
public class Task // model class
{
public int Id { get; set; }
[MaxLength(255)]
public string Text { get; set; }
public DateTime StartDate { get; set; }
public int Duration { get; set; }
public decimal Progress { get; set; }
public int SortOrder { get; set; }
public string Type { get; set; }
public int? ParentId { get; set; }
}
Please note, all the other properties mapping are working just as expected…
Regards,
John