Our pure JavaScript Scheduler component


Post by yamik »

Hi,

How can I set full width on cell without margin left and right?

https://ibb.co/TvKzDgN


Post by alex.l »

Try to set https://bryntum.com/docs/grid/api/Grid/column/Column#config-cellCls
and define padding: 0 for that class.
To make it at runtime, there is an access to cellElement from https://bryntum.com/docs/grid/api/Grid/column/Column#config-renderer , check params list.

All the best,
Alex


Post by yamik »

Hmm... Sorry but I don't have an idea how to do that. Is there any example code with that?


Post by marcio »

Hey,

You could try inside your columns configuration object:

{
    cellCls        : '.b-calendar-cell',              // can be any name here
    ... other configurations properties
}

And then you define in your CSS file the class with padding: 0

.b-calendar-cell {
   padding: 0;
}

Best regards,
Márcio


Post by yamik »

Unfortunetelly it's not working. I have vertical style btw.

https://ibb.co/6Dq2kRS

Background goes only to latest sign on row.


Post by alex.l »

Please post your code here, column configuration, renderer you used and CSS. We will check what's wrong

All the best,
Alex


Post Reply