An issues-only repository for the Bryntum project management component suite which includes powerful Grid, Scheduler, Calendar, Kanban Task Board and Gantt chart components all built in pure JS / CSS / TypeScript
The reason for this behavior is that we have text directly in the cell and the anonymous cell node cannot be addressed by CSS. However, it behaves as a flex item, therefore the text is vertically centered.
The problem can be solved at the cost of adding one wrapping <span> around the text:
columns : [
{
text : 'Name',
htmlEncode : false,
renderer({ value }) {
return `<span class="b-cell-content">${value}</span>`;
}
It can be easily seen on https://bryntum.com/examples/grid/basic/ by narrowing the first column.
The reason for this behavior is that we have text directly in the cell and the anonymous cell node cannot be addressed by CSS. However, it behaves as a flex item, therefore the text is vertically centered.
The problem can be solved at the cost of adding one wrapping <span> around the text:
and css:
TreeColumn (also in Gantt) and frameworks' renderers should be resolved too