It is a default renderer which displays the value of data cell as text. It specifies the horizontal alignment of text by GridStyles.textAlignment and vertical alignment by lineAlignment. It specifies the color of text by foreground and the background of cell by background. In addition, it uses font related styles like fontName, fontBold, etc.
When setting the column renderer, it is used in the case of specifying the type as "text" or not specifying the type.
var columns = [{
name: "customer",
fieldName: "customer",
renderer: {
type: "text",
showTooltip: true
},
header: {
text: "Customer"
}
},
...
];
grid.setColumns(columns);