search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Scheduler - How to align the text in the row header columns

Asked by Anonymous
1 year ago.

Is it possible to align the text of the row headers horizontally to right, left or center?

Comment posted by Anonymous
1 year ago.

I forgot to attach the screenshot. So, e. g. I want to align the highlighted text in the attached screenshot to the right. Is this possible? If not, maybe with a workaround using CSS?

Answer posted by Dan Letecky [DayPilot]
1 year ago.

You can use onBeforeRowHeaderRender event (https://api.daypilot.org/daypilot-scheduler-onbeforerowheaderrender/) to set the horizontal alignment:

onBeforeRowHeaderRender: args => {
  args.row.columns[0].horizontalAlignment = "right";
}
Comment posted by Anonymous
1 year ago.

Thanks

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.