Posted 3 January 2024, 8:16 am 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 3 January 2024, 8:16 am EST
Posted 3 January 2024, 8:16 am 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 4 January 2024, 2:22 am 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