Hi,
I have a grid in Mongoose form.
In the form script I set cells font size = 12.
However when I edit cell's value, font changes size to smaller one.
Is there a way to prevent this behavior?
Thanks,
Kirill
Make sure to set the Font for Each Grid Column as well as the Default Font for the Grid.
Hi Rene,
Thanks for answering.
This is how I sent grid cell font in form script.
string fontDescriptor = "11,0,0,0,0,0,0,0,0,0,0,0,0,Arial"; ThisForm.Components["gridName"].SetGridRowColFont(row, column_index, fontDescriptor, false);
How can I set font for a grid column and the grid in form script?
Regards,
Just curious, why are you trying to set the font in form script when there are many non-script ways to set the font such as using themes, theme classes, and setting it at the component level. Setting it via script should be a last resort option.
Hi Caitlin,
It's easier for me to do it with form script
Thanks for theme classes tip, I will check it out.