In my Connector.php file I was wondering what the render_table parameters are attributed to.
For example:
$conn->render_table(“events”,“id”,“start_date,end_date,text”);
“id” is my primary key, and in my Scheduler.php file:
[code]My lightbox:
scheduler.config.lightbox.sections=[
{name:“description”, height:130, map_to:“text”, type:“textarea” , focus:true},
{name:“checkme”, map_to:“single_checkbox”, type:“checkbox”,
checked_value: “registrable”, height:40},
{name:“recurring”, height:115, type:“recurring”, map_to:“rec_type”,
button:“recurring”},
{name:“Room”, height:23, type:“select”, options:sections, map_to:“sections” },
{name:“time”, height:72, type:“time”, map_to:“auto”}
]
[/code]
The "Room = map_to “sections” is my primary key
var sections = [
{ key: 'wedge', label: 'Wedge'},
{ key: 'stack_south', label: 'Stack South' },
{ key: 'stack_north', label: 'Stack North' },
{ key: 'think_tank', label: 'Think Tank' }
];
How do I set up the render_table? is it “sections”?
How about the SQL Database?