Posted 2 January 2024, 11:16 pm EST
How can I alter the font size of a datamap (dropdown) to the same font size as the grid.
The fontsize of the grid is dynamic.
Forums Home / Wijmo / General Discussion
Posted by: sailesh.tailor on 2 January 2024, 11:16 pm EST
Posted 2 January 2024, 11:16 pm EST
How can I alter the font size of a datamap (dropdown) to the same font size as the grid.
The fontsize of the grid is dynamic.
Posted 3 January 2024, 5:22 pm EST
Hi Sailesh,
You can use .wj-grid-listbox CSS class to set the font size of datamap dropdown similar to the FlexGrid. Please refer to the below code snippet and sample link for reference:
.wj-flexgrid {
font-size: 2vw;
}
.wj-dropdown-panel.wj-grid-listbox {
font-size: 2vw;
}
Sample link: https://stackblitz.com/edit/angular-mhsjly?file=src%2Fstyles.css
Regards