0

The data in the following picture is dynamic & that is not looking good actually. I want to fix the width for these columns.

                        <p:row styleClass="ui-panelgrid-cell" rowspan="2">

                        <p:column>
                            <div style="overflow: auto; width: 100%;">
                                <p:dataTable var="tPreferences"
                                    value="#{userPreferences.preferences}"
                                    emptyMessage="No Questions Found." id="pTable" styleClass="borderless">
                                    <p:column headerText="PREFERENCES">
                                        <h:outputText id="sName" styleClass="cellLabelMand"
                                            value="#{tPreferences.shortText}" />

                                        <h:outputText value="&lt;br/&gt;&lt;br/&gt;" escape="false" />
                                        <h:selectManyCheckbox id="grid"
                                            value="#{tPreferences.preferencesSelectedItem}"
                                            layout="grid" columns="1">

                                            <f:selectItems value="#{tPreferences.catList}" var="pref" />

                                        </h:selectManyCheckbox>
                                    </p:column>
                                </p:dataTable>
                            </div>
                        </p:column>
                    </p:row>

enter image description here

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
user3548196
  • 355
  • 1
  • 9
  • 32

0 Answers0