Hi,
I have added two fields to the calendar table.
When I execute the "eventdrop" event, it moves the date of the event but does not copy the value of the two new fields.
Do you know how to fix this?
Thank you
Hi,
I have added two fields to the calendar table.
When I execute the "eventdrop" event, it moves the date of the event but does not copy the value of the two new fields.
Do you know how to fix this?
Thank you
rubengg wrote:
I have added two fields to the calendar table.
Make sure the fields names match (including letter case) FullCalendar's Event object.
CREATE TABLE `Calendario` (
`Id` int(11) NOT NULL,
`Title` varchar(255) NOT NULL,
`Start` datetime NOT NULL,
`End` datetime DEFAULT NULL,
`AllDay` tinyint(1) NOT NULL,
`Description` longtext DEFAULT NULL,
`GroupId` varchar(255) DEFAULT NULL,
`Url` varchar(255) DEFAULT NULL,
`ClassNames` varchar(255) DEFAULT NULL,
`Display` varchar(255) DEFAULT NULL,
`BackgroundColor` varchar(255) DEFAULT NULL,
`idusu` int(11) DEFAULT NULL,
`idcolor` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
Thank you,
arbei wrote:
Make sure the fields names match (including letter case) FullCalendar's Event object.
rubengg wrote:
idusu
int(11) DEFAULT NULL,
idcolor
int(11) DEFAULT NULL
As explained the fields names MUST match (including letter case) the property names of the FullCalendar's Event object. Your "idusu" and "idcolor" do not.