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

React Scheduler > Display splitter but disable splitter resizing

Asked by Andy
2 days ago.

Objectives:

  • Scheduler’s width to always equal to the provided rowHeaderWidth.

  • Make the left pane’s splitter not grab-able to resize, while keeping the `rowHeaderSplitterWidth` non-zero. Essentially makes the left splitter non-interactable to the user.

  • Keep the left pane’s row header columns scrollable horizontally (I believe this is achieved with rowHeaderScrolling: true)

This is current configuration. Upon hovering on the splitter, it still shows the `move` pointer to resize the splitter.

{
    rowHeaderColumns: columns.map(column => { 
      width: column.width,
      text: column.label,
      id: column.id
    }),

    rowHeaderWidthAutoFit: false,

    rowHeaderColumnsResizable: false,

    rowHeaderWidth, // Variable calculated dynamically

    rowHeaderScrolling: true, // -> This is needed so the scheduler respects `rowHeaderWidth`

    rowHeaderSplitterWidth: 1, // This is good
}

Can you provide guidance? Thank you!

No reply yet.
New Reply
This reply is
Attachments:
or drop files here
Your name (optional):