I have specified a font size for a list view column header and it renders correctly in the list view designer but it does not render correclty in the smartform that it has been added to. I tried changing the color of the columun header too but not success with that either.
I am looking for a solution. Any ideas?
Thanks,
alv4
Best answer by Kran
Hi alv4,
To add custom style you are required to use Datalabel control, for this control do the below changes under property (appears on R.H.S.)
Check the Literal property option
For Expression property add below style using start and closing style tag.
I have assumed that In list view header you have taken class name as CSS selector, when accessing a view directly (wihout forms) the class name will be having initial text like 00000*personal details removed*000 but when we access same view using form it will be replaced by Form ID, thus if you are using full class name which you might have taken from view will not work with forms.
Refer attached screen to see diffrence in class name while accessing it directly and using Froms.
to make it work correctly you with both form as well as direclly you have two ways
1) use both classes i.e. from Forms as well as view as selector for Css property