Our state of the art Gantt chart


Post by arpit »

Hi team is there a key we can set on first record such that its position don't change when sort operation is applied on columns, basically our first row acts as summary and we don't want its position to be changed when sort operations are applied.
Thanks


Post by marcio »

Hey,

We don't have that functionality of fixing a specific row, I created a ticket for it https://github.com/bryntum/support/issues/4831

The workaround that you can use is https://www.bryntum.com/docs/gantt/api/Gantt/feature/Summary

https://www.bryntum.com/examples/gantt/summary/

The summary by default is set at the bottom of the list, but you can change the positioning of the containers and put that summary information before the items list with CSS.

.b-grid-panel-body > .b-grid-header-container {
  order: 0;
}

.b-grid-panel-body > .b-grid-body-container, .b-grid-panel-body > .b-virtual-scrollers  {
  order: 2;
}

.b-grid-panel-body > .b-grid-footer-container {
  order: 1;
}
Attachments
Screen Shot 2022-06-17 at 5.19.41 PM.png
Screen Shot 2022-06-17 at 5.19.41 PM.png (110.48 KiB) Viewed 275 times

Best regards,
Márcio


Post Reply