Posted 25 October 2023, 9:41 pm EST
Hi All,
I have a requirement where I need to set different heights for GroupHeaders, columnHeaders, and data rows.
I am currently using this in the scss file
.wj-flexgrid .wj-row .wj-cell:not(.wj-header):not(.wj-group)[role=“gridcell”] {
height: 88px !important;
}
/* Set a specific height for group cells */
.wj-flexgrid .wj-cell.wj-group {
height: 48px !important;
}
But its not working as it’s leaving extra 40px white gap after the groupheaders.
export function getData() {
return [
{
name: 'Washington',
type: '',
population: null,
cities: [
{ name: 'Seattle', type: 'delhi', population: 652 },
{ name: 'Spokane', type: 'city', population: 210 }
]
},
{
name: 'Oregon',
type: '',
population: null,
cities: [
{ name: 'Portland', type: 'agra', population: 609 },
{ name: 'Eugene', type: 'uk', population: 159 }
]
},
{
name: 'California',
type: '',
population: null,
cities: [
{ name: 'Los Angeles', type: 'uk', population: 3884 },
{ name: 'San Diego', type: 'city', population: 1356 },
{ name: 'San Francisco', type: 'uk', population: 837 }
]
}
];
}