title: Pre- Expanding a specific row in primefaces datatable
body: <p>Primefaces dataTable has a feature known as expandedRow which when set to true expands all the rows.But I want only a specific row to be expanded before the dataTable loads.</p>
  
  <pre><code>&lt;p:dataTable id="table" value="#{dataTable.cars}" var="car" expandedRow="true"
          paginator="true" rows="5"&gt;
          &lt;p:column style="width:2%"&gt;
              &lt;p:rowToggler /&gt;
          &lt;/p:column&gt;
          &lt;p:column id="model" headerText="Model"&gt;
              &lt;h:outputText value="#{car.model}" /&gt;
          &lt;/p:column&gt;
          &lt;p:column id="year" headerText="Year"&gt;
              &lt;h:outputText value="#{car.year}" /&gt;
          &lt;/p:column&gt;
          &lt;p:rowExpansion &gt;
              &lt;h:outputText value="Manufacturer : " /&gt;
              &lt;h:outputText value="#{car.manufacturer}" /&gt;
          &lt;/p:rowExpansion&gt;
      &lt;/p:dataTable&gt;
  </code></pre>