Posted 7 September 2018, 8:48 am EST
I have insert a groupRow into my flexGrid footer but I cannot change it cell format (background color, color, font …)
This is my css:
.wj-header {
background-color: #5B9BD5;
color: white;
border-width: 0.1;
border-left: 1px solid lightgray;
border-bottom: 1px solid lightgray;
text-align: center;
word-wrap: break-word;
font-weight: normal;
text-align: center !important;
font-size: .85em !important;
}
.wj-grp-row {
color: red !important;
background-color:yellow !important;
}
This is my ts:
initFlex(s: wjGrid.FlexGrid): void {
const grpRow = new wjGrid.GroupRow();
grpRow.cssClass = 'wj-grp-row'; s.columnHeaders.rows[0].wordWrap = true; s.columnFooters.rows.push(grpRow); s.autoSizeRow(1, true);
}
Please help me. Thank you very much.