jsf - Override css for a single column in richdatatable -
i using jsf 1.2. css columns of rich:datatable follows:-
.cssallcolumns { border-right: 1px solid #a0b681; border-top: 1px solid #a0b728; border-left: 1px solid #a0b681; border-bottom: 1px solid #a0b728; padding: 1px; } .... <rich:datatable value="#{employeebean.employeelist}" ... columnclasses="cssallcolumns" .../>
i want single column align left follows
<rich:column id="employeename" sortable="true" style="text-align:left;cellspacing=5;">
its aligning single column left , other center (as per requirement) tightly left_aligned. want leave 2 3 char-spaces left border. how achieved?
i have never used rich tables if follow same principles, inline css incorrect.
change
<rich:column id="employeename" sortable="true" style="text-align:left;cellspacing=5;">
to
<rich:column id="employeename" sortable="true" cellspacing="5" style="text-align:left;">
oh , also, if have css being defined, try using !important
in inline css overwrite classes have declared.
Comments
Post a Comment