Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Chris on Sep 30, 2009 10:25
open dhtmlx forum
Make Scheduler Events the full width of the column.

I see that it is possible to suppress the menu from showing when clicking an event. Is it possible to make the events take up the full width of the column? Thanks for this great scheduler and for your help.
Answer posted by Stanislav (support) on Oct 01, 2009 08:33
>>Is it possible to make the events take up the full width of the column? 
Can you please provide mode details about desired use-case.
Do you want to reuse space from menu for event bar rendering? Currently it can be done only with some code modification. If you interested - I can provide exact location of places which need to be updated. 
Answer posted by Chris on Oct 01, 2009 08:36
Yes that is exactly what I need.  The locations that need to be updated would be great.  Thanks, for all your help.
Answer posted by Chris on Oct 21, 2009 07:32
I was just wondering if you have had a chance to compile the list of places that the code needs to be modified in order to reuse the space taken up by the menu?

Thanks for all your help.

Chris Barnes
Answer posted by Stanislav (support) on Oct 23, 2009 10:11
Locate the method 
        scheduler.render_event
( if you are building from source - it is in event.js ) 

replace all occurrences of 25 in it with 0 ( there are 5 of them ) 
replace
     left-(this._quirks7?24:24); 
with 
    left

and 
     left-24
with 
     left

all above changes need to be done only if render_event method, code outside of it doesn't require any changes.