Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Chankya on Dec 29, 2009 01:55
open dhtmlx forum
How to hide a field from displaying in the Scheduler

Hello,

I have a couple of problems in using the scheduler

1). I am trying to use the Scheduler and unable to hide a field in scheduler pop up. I am using the Code like following

scheduler.config.lightbox.sections=[
{name:"description", height:30, map_to:"text", type:"textarea" , focus:true},
{name:"userid", height:23, type:"select", options:users, map_to:"user_id" },
{name:"detail", height:30, map_to:"notes", type:"textarea" },
{name:"time", height:72, type:"time", map_to:"auto"},
{name:"Concerned", height:30,type:"select", options:concerned, map_to:"concerned_id" },
        ]

Here I want to hide concerned and userid field from the form but want to send the values at the backend.

Any Idea, that how can i do so.

2). How can i add another button in the scheduler and open another div on the existing div of event.

Please help me out.

Answer posted by dhxSupport on Dec 29, 2009 07:15
1) You can create custom field in description window. Please find more information here http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxscheduler:custom_details_form#making_section_hidden_for_some_events
2) Do you want to add button outside Scheduler or to some particular element of it (selection menu or description window)?