Premium support for our pure JavaScript UI components


Post by sprabhu »

Hi,
Bryntum has region [left, middle and right] which can we used to freeze some columns.
If we use region left, it freezes that column to the left and makes it as first column.
Can we freeze the column WBS column or row count column as well. So that row count column will be the first followed by Task Number( please refer to the screenshot)

Attachments
Freeze column.png
Freeze column.png (104.98 KiB) Viewed 201 times

Post by tasnim »

Hi,

I'm not sure I get your question, Could you please explain a bit further?


Post by sprabhu »

If we use region as left on the 'Name', it get pinned to the extreme left. Followed by the column with title # ( which is the row number column).
Can we pin the row number column as well to the left so that the order is as follow:

  1. (row number column) (pinned to the left)

  2. Name(pinned to the left)
  3. WBS and other columns

Post by alex.l »

Hi, in this case you need to set region for RowNumber column too.

gantt.columns.getAt(0).region = 'left';

Or add RowNumber column manually with required config and not throw selectionMode config.

columns : [{
    type : 'rownumber',
    region : 'left',
    // ...
},

All the best,
Alex


Post by sprabhu »

That worked like a charm. Thanks Alex


Post Reply