title: Primefaces roweditor in same column with other buttons
body: <p>I have datatable in which I use roweditor. Everything works fine but I need to add few more buttons in column  in which I have pencil button for editing. That "other" button is always below pencil. I've tried <code>&lt;p:panelgrid columns="3"...</code> but when I did that row edithing wasn't possible. I suppose that the problem is with the other two buttons that come with row editing, (<code>ui-icon-check</code> and <code>ui-icon-close</code>). Can anyone give me an idea? 
  Here is my datatable: </p>
  
  <pre><code>        &lt;p:dataTable id="sifarnikTable" rowIndexVar="rowIndex" 
              value="#{attrsBean.listOfDataBeans}" editable="true" 
              selectionMode="multiple" selection="#{attrsBean.selektovani}"
              widgetVar="datatableWidget" var="row" rowKey="#{row.primaryKey}"
              paginator="true" paginatorPosition="bottom" 
              paginatorTemplate="{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink}"
              currentPageReportTemplate="{startRecord} - {endRecord} / {totalRecords}"
              emptyMessage="#{messages['datatable.emptymessage']}" rows="15"
              sortMode="multiple" paginatorAlwaysVisible="false" 
              filteredValue="#{attrsBean.filteredDatatableList}"&gt;
              &lt;f:facet name="header"&gt;
                  #{resources['db_parametri.title']}
              &lt;/f:facet&gt;
  
              &lt;p:ajax event="rowSelect" /&gt;
              &lt;p:ajax event="rowUnselect" /&gt;
  
              &lt;p:ajax event="rowEdit" listener="#{attrsBean.onEdit}"
                  update=":aswdatatable:form:messages, :aswdatatable:form:sifarnikTable, :aswdatatable:form:noviBtn" /&gt;
  
              &lt;p:ajax event="rowEditCancel" listener="#{attrsBean.onCancel}"
                  update=":aswdatatable:form:messages" /&gt;
  
              &lt;p:columns id="columns" var="column" value="#{attrsBean.columns}" 
                  style="#{column.css}" width="#{column.width}"
                  sortBy="#{row[column.property]}"
                  filterStyle="#{attrsBean.columnCSS}"
                  filterBy="#{attrsBean.showFilter==false ? null : row[column.property]}"&gt;
                  &lt;f:facet name="header"&gt;
                      &lt;h:outputText value="#{column.header}" /&gt;
                  &lt;/f:facet&gt;
                  &lt;p:cellEditor&gt;
                      &lt;f:facet name="output"&gt;
                          &lt;h:outputText value="#{row[column.property]}" /&gt;
                      &lt;/f:facet&gt;
                      &lt;f:facet name="input"&gt;
                          &lt;p:inputText value="#{row[column.property]}" style="width:96%"&gt;&lt;/p:inputText&gt;
                      &lt;/f:facet&gt;
                  &lt;/p:cellEditor&gt;
  
              &lt;/p:columns&gt;
              &lt;p:column style="width:6px" exportable="false" &gt;                
                  &lt;p:rowEditor /&gt;
                  &lt;div
                      onclick="datatableWidget.unselectAllRows();datatableWidget.selectRow(#{rowIndex}, false);"&gt;
                      &lt;h:panelGroup layout="block"&gt;
                          &lt;p:cellEditor&gt;
                              &lt;f:facet name="output"&gt;
  
                                  &lt;p:commandLink id="deleteBtn"
                                      onclick="datatableWidget.unselectAllRows();datatableWidget.selectRow(#{rowIndex}, false);brisanjeWidget.show()"
                                      process="@this"
                                      update=":aswdatatable:form:brisanjeDisplay, :aswdatatable:form:sifarnikTable"
                                      styleClass="ui-icon ui-icon-trash"&gt;
  
                                      &lt;f:setPropertyActionListener
                                          target="#{attrsBean.modelForDelete}" value="#{row}" /&gt;
                                  &lt;/p:commandLink&gt;
                              &lt;/f:facet&gt;
                              &lt;f:facet name="input"&gt;
                                  &lt;h:outputText value="" /&gt;
  
                              &lt;/f:facet&gt;
                          &lt;/p:cellEditor&gt;
                      &lt;/h:panelGroup&gt;
                  &lt;/div&gt;
              &lt;/p:column&gt;
  
  
          &lt;/p:dataTable&gt;
  </code></pre>