Our pure JavaScript Scheduler component


Post by sactory »

How to show more row in vertical mode.
Pls see my attack bellow.
I'm using columns in mode 'horizontal', but when I change mode it only show first column.

Attachments
scheduler_more_rows.png
scheduler_more_rows.png (617.4 KiB) Viewed 1156 times
Last edited by sactory on Tue Jun 30, 2020 12:19 pm, edited 2 times in total.

Post by mats »

Are you changing mode at runtime? This is not supported, 'mode' can only be set once during configuration.


Post by sactory »

Yes, I set 2 "columns". But when I change mode from 'horizontal' to 'vertical', the screen display only 1 row at header.
So, I don't know how to show 2 or 3,... rows at header like my attack picture. Please see my sample at "https://prnt.sc/t91fjm".


Post by mats »

Please read my response again:

Are you changing mode at runtime? This is not supported, 'mode' can only be set once during configuration.


Post by sactory »

Yes, I config default mode is 'vertical' in configuration.
I want to show multiple rows in header at this mode vertical.
I don't see any example for this, could you give me an idea?


Post by mats »

Ok now I see what you mean, try using https://bryntum.com/docs/scheduler/#Scheduler/view/ResourceHeader#config-headerRenderer

This lets you render any HTML into the header cells.


Post by sactory »

Thank you for your support, I applied.


Post Reply