Hi! Im trying to change font-size of a mobile table content in all rows. Can someone help me with a solution? Thanks!
1 Like
I tried this solution
if(wixWindow.formFactor === "Mobile"){
$w('#dataset1').onReady(() => {
$w('#tableGSM').columns = $w('#tableGSM').columns.map(e => {
if(e.dataPath === 'controlSystem') {e.type = 'text';} return e;});
$w('#tableGSM').rows = $w('#tableGSM').rows.map(e => {e.controlSystem = `<font-size="11"></font>`; return e;});
})
}
But it just puts font size string as a content