I have two questions about the annotations to code the planning window.
First one regards the layout of the column headers. Would it be possible to add a dynamic text above the date? Something like a internal code we use for certain days in time? Where is, for example week 25 or June defined in the code? Or is this standard part of the feature?
I do only see ‘rows’ in the code. Can I aso add ‘column’?
feature 'full screen planning' (
// 'default zoom level' = (
// 'name' = "Standaard"
// 'days before today' = 7
// 'days after today' = 35
// 'tag interval' = 720
// 'snap' = 'day' ( )
// 'width' = 3000
// 'date tags size' = 'xs' ( )
// 'round off to day' = 'yes' ( )
// )
// // 'has more zoom levels' = 'yes' (
// // 'zoom levels' = [
// // (
// // 'zoom level' = (
// // 'name' = "Standaard"
// // 'days before today' = 7
// // 'days after today' = 31
// // 'tag interval' = 720
// // 'snap' = 'day' ( )
// // 'width' = 3000
// // 'date tags size' = 'xs' ( )
// // 'round off to day' = 'yes' ( )
// // )
// // )
// // ]
// // )
'plannings' = [
(
'label' = "Planning"
'default zoom level' = (
'name' = "Standaard"
'type' = 'day' (
'show weekends' = 'yes' ( )
)
)
'windows' = [
(
'label' = "Availability"
'rows' = (
'rows' = collection .'Planning' (
Second question concerns the draggable option. Can anybody explain me please how it works? What kind of commands can I execute with this draggable function?
'foreground options' = (
'draggable' = 'no' ( )
// 'draggable' = 'yes' (
// 'move' = command .'Datum wijzigen' (
// 'start' = number .'Datum' ( )
// // 'can be dropped on item'
// 'can switch row' = 'no' ( )
// )
// 'has alternative move command' = 'yes' (
// 'move' = command .'Datum wijzigen (alternatief)' (
// 'start' = number .'Datum' ( )
// 'can switch row' = 'no' ( )
// )
// )
// )
// 'has tooltip' = 'no' ( )
Besides, how is it determined where I can use the draggable feature? In some areas of my code it is not allowed (see picture below).
Thank you very much for your help. It is highly appreciated!