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
1 month 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!

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

Hi Andy,

In the latest sandbox build (2025.4.6665), this is now supported by the new rowHeaderResizing property (you need to set it to false).

Comment posted by Andy
1 month ago.

Hi Dan,

Thank you for the quick turnaround.

I installed `https://npm.daypilot.org/daypilot-pro-react/trial/2025.4.6665.tar.gz` but didn’t see rowHeaderResizing in SchedulerProps

I set `rowHeaderResizing: false` anyways, yet still able to hover on and resize the splitter.

Comment posted by Dan Letecky [DayPilot]
1 month ago.

Sorry, my mistake. It’s rowHeaderResizable.

Comment posted by Andy
1 month ago.

Thank you, Dan. It works perfectly!

Is it possible to expose that prop on `SchedulerProps > SchedulerPropsAndEvents`?

I currently see it on `GanttPropsAndEvents`.

Comment posted by Dan Letecky [DayPilot]
1 month ago.

Great, thanks for the update.

Yes, it should be no problem. It will be added in the next build.

Comment posted by Andy
1 month ago.

Thanks again, Dan!

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