Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Vineetha on Nov 26, 2009 23:32
open dhtmlx forum
Changing the event and slot sizes

Hello

Thank you very much for your previous answers.

I am using dhtmlxscheduler. In that i need to have certain changes

1. when we doubleclick on the scheduler the event will be created. In current situation The created event will take the space of 1 and 1/2 slot. can we make the size of the event best fit into one slot.

2. Or can we change the the size of the slot.

3. one more thing, is it possible to remove the header portion of the event so that we can fit the event on the slot provided now.


Thank You

Vineetha
Answer posted by Stanislav (support) on Nov 27, 2009 01:01
>>can we make the size of the event best fit into one slot.
event renders proportional to the time, and it pretty hard to change the default behavior

>>2. Or can we change the the size of the slot.
vertical size of slot can be changed as 

scheduler.config.hour_size_px=84; //or any other value

>>one more thing, is it possible to remove the header portion of the event
You can adjust code of _render_v_bar method, which controls how event is rendered