Premium support for our pure JavaScript UI components


Post by Gowtham »

Hi Dev Team,
We are using Gantt, Scheduler and Histogram on a single Page Application with shared project model.
1) If we apply grouping to histogram it creates an empty row on the scheduler PFA, even though we set grouping to false on the scheduler.
2) How to remove default scale appearing in the histogram PFA?
3) How do we do Filtering on the Gantt project model without affecting the scheduler or Histogram with same data.

Attachments
2) Hide ruler
2) Hide ruler
histogram-scheduler_scale.png (45.81 KiB) Viewed 755 times
1) Empty rows in the scheduler
1) Empty rows in the scheduler
histogram-scheduler_edits.png (45.91 KiB) Viewed 755 times

Post by pmiklashevich »

To prevent grouping and filtering to affect other panels, you need to chain the store. If you need to have just slice of the data, apply chainedFilterFn.

There is no config to remove the scale column, but you can hide it dynamically:

new ResourceHistogram({
    listeners : {
        paint() {
            this.columns.findRecord('type', 'scale').hidden = true;
        }
    },

Opened a ticket to make it configurable: https://github.com/bryntum/support/issues/2257

Please try to keep one question per thread

Pavlo Miklashevych
Sr. Frontend Developer


Post Reply