Our pure JavaScript Scheduler component


Post by DaoBY »

Hi,

We want to reduce the height of group but we can't :

ResizeHeightLineRowGroup.png
ResizeHeightLineRowGroup.png (17.77 KiB) Viewed 1318 times

if it possible to have a different row height between groups line and resource lines?

Best regards


Post by mats »

Sure, try:

features : {
        sort  : 'age',
        group : {
            field : 'food',
            renderer({ column, groupColumn, groupRowFor, count, isFirstColumn, record, size }) {
                 size.height = 22;
            }
        }
    },

You should also ensure this flag is set to false: https://www.bryntum.com/docs/grid/#Grid/view/GridBase#config-fixedRowHeight


Post by DaoBY »

Hi Mats,

Thanks for your reply.

I try it but i have a space between the header row group and the first row element:

grp.png
grp.png (27.23 KiB) Viewed 1301 times

Post by mats »

There was a small bug in our sources that prevented this, please try latest nightly build. Code:

features : {
        sort  : 'age',
        group : {
            field : 'food',
            renderer({ column, groupColumn, groupRowFor, count, isFirstColumn, record, size }) {
                 size.height = 22;
            }
        }
    },

Post by DaoBY »

We're working with official releases.
Will it be included in the next official release ?


Post by pmiklashevich »

Yes, you can expect it to be a part of the next release!

Pavlo Miklashevych
Sr. Frontend Developer


Post Reply