Page 1 of 1

[REACT] Hide grid and remove slider

Posted: Fri May 14, 2021 5:33 pm
by Gantt_user

Hi,

Is it possible to disable or preferably remove the grid portion of the gantt chart?

I was able to hide the chart but I couldn't find anything in the documentation around disabling the toggle of the grid.

I've added the following to my GanttConfig object

subGridConfigs: {
     locked: { collapsed: true }
}

but I also want to disable and/or remove the slider

slider.png
slider.png (66.3 KiB) Viewed 550 times

Re: [REACT] Hide grid and remove slider

Posted: Sat May 15, 2021 9:05 am
by mats

Disable this feature: https://bryntum.com/docs/gantt/#Grid/feature/RegionResize

let gantt = new Gantt({
  features: {
    regionResize: false
  }
});

Re: [REACT] Hide grid and remove slider

Posted: Tue May 18, 2021 1:50 am
by Gantt_user
mats wrote: Sat May 15, 2021 9:05 am

Disable this feature: https://bryntum.com/docs/gantt/#Grid/feature/RegionResize

let gantt = new Gantt({
  features: {
    regionResize: false
  }
});

Perfect. Thank you