Posted 22 August 2024, 3:35 am EST
I used a simple layout definition to define my table as the following:
[
{ cells: [{ binding: 'country', header: 'Country' }] },
{ cells: [{ binding: 'date', header: 'Date' }] },
{ cells: [{ binding: 'downloads', header: 'Downloads' }] },
{ cells: [{ binding: 'sales', header: 'Sales' }] },
{ cells: [{ binding: 'active', header: 'Active' }] },
]
And I need to set the background of the header by code.
When I tried to visit the element of the header, I found there is two rows. And I confirm this thing by visiting
flexGrid.columnHeaders.rows
.
Is this the known issue?
And how can I visit the right header cell?
Thanks for any help.