Note that there are some explanatory texts on larger screens.

plurals
  1. POJSF/Primefaces inline cell editing on xhtml doesnt work
    primarykey
    data
    text
    <p>was able to have inline edit of each cell under memebername and employee id and not able have a edit on amount field(Note those headers are dynamic was succefully able to show data and column values), couldnot able to have edit enable on amount field, can some one let me know what was issue is. Thanks for your time. </p> <pre><code>&lt;p:dataTable editable="true" editMode="cell" var="memberInformation" paginator="true" rows="10" paginatorTemplate="{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}" rowsPerPageTemplate="5,10,15" value="#{listTemplate.listofMembers}"&gt; &lt;p:ajax event="cellEdit" update="@this" listener="#{listTemplate.onCellEdit}"/&gt; &lt;p:column headerText="Name"&gt; &lt;h:outputText value="#{memberInformation.memeberName}" /&gt; &lt;/p:column&gt; &lt;p:column headerText="EmployeeId"&gt; &lt;h:outputText style="cursor:pointer;padding:15px;" value="#{memberInformation.empId}" /&gt; &lt;/p:column&gt; &lt;p:columns value="#{listTemplate.columnNamesList}" var="column" columnIndexVar="colIndex"&gt; &lt;f:facet name="header"&gt; &lt;h:outputText style="cursor:pointer;padding:15px;" value="#{column.columnName}" /&gt; &lt;/f:facet&gt; &lt;p:cellEditor&gt; &lt;f:facet name="output"&gt;&lt;h:outputText value="#{memberInformation.amount}" /&gt;&lt;/f:facet&gt; &lt;f:facet name="input"&gt;&lt;p:inputText value="#{memberInformation.amount}"/&gt;&lt;/f:facet&gt; &lt;/p:cellEditor&gt; &lt;/p:columns&gt; &lt;/p:dataTable&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload