commit
commit

Reputation: 4807

display column width not working

I am not able to give specific width to display column, Here is my code

<display:table name="" htmlId="" class="display-table" cellspacing="0" cellpadding="0" style="width :100%">
    ...                                                 
   <display:column title="" style="width: 20%;">
    ...                                                     
</display:table>

Here is css I tried

.display-table { table-layout: fixed; width: 100% }
.display-table td { word-wrap: break-word; }

But it always display records with equal with of all column to table. I am not able to modify with of this particular column.

Upvotes: 0

Views: 87

Answers (1)

Pranav C Balan
Pranav C Balan

Reputation: 115232

Remove table-layout: fixed; , since that will make the column size equal

.display-table {  width: 100% }

Upvotes: 1

Related Questions