I have columns defined in a testgridss2 that i wish to apply a mono spaced style. I have defined in the application designer on the column in the binding section a variable name to the property textstyleprop.
In my natural application, I have added the following logic:
move “font-family: Monaco, Courier, monospace;” to po_lines_css(#a)
Where po_line_css is the name of the variable defined in the application designer for the property textstyleprop.
After stowing the natural application, I can see no difference in the display of the variables.
Am I using the incorrect application designer property, or is it not possible to apply a style to column variables in a textgridss2?
The textstyleprop in the textgridsss2 control works OK in my environment.
Do you use the HTML-client or do you use SWT?
Just to be sure there is no misunderstanding: The textstyleprop changes the textstyle of the column per row. It does not change the textstyle of the column header.
This means, in your Natural Adapter you get something generated like: