5 Replies Latest reply on Aug 14, 2014 3:40 AM by Michal Petrov

    Column Context menu extendedDatatable

    tris b Newbie

      Hello,

       

      I placed in my page the rich:extendedDataTable. But the column context menu is not showing like in the exadel example. I did read the developers document and I couldn't find any information about activating it.

       

      - I'm using RichFaces version 4.3 .

      - I din't skin anything yet.

       

      My code:

       

      <rich:extendedDataTable id="sampleTable" value="#{sampleController.assetList}" rows="5"
        
      var="sample" filterVar="filterValue"
        
      width="500px" height="500px" selectionMode="none"
        
      rowKeyVar="rkvar" tableState="#{sampleController.tableState}"
        
      reRender="datascroller">
        
      <f:facet name="noData">
        Nothing found
        
      </f:facet>

        
      <rich:column sortable="true"  headerClass="dataTableHeader" sortBy="#{sample.asset_model_id}" id="colSampleType"
        
      filterExpression="#{empty filterValue or fn:startsWith(sample.asset_model_id, filterValue)}"
        
      filterValue="#{sampleController.sampleTypeFilter}"
        
      label="Sample Type">
        
      <f:facet name="header">
        
      <h:panelGroup>
        
      <h:outputText value="Type " id="sampleType"/>
        
      </h:panelGroup>
        
      </f:facet>
        
      <h:outputText value="#{sample.asset_model_id}"  id="sample_type"/>
        
      </rich:column>

      </rich:extendedDataTable>