struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fea jabi <zy...@hotmail.com>
Subject <sjg:grid> edit inline control navigator buttons to display
Date Thu, 24 Sep 2015 16:43:49 GMT
 Using the below sjg:grid with edit inline. This displays the edit navigator buttons Add New
Row, Edit selected row, Save, Cancel row editing. 
 
I don't want to show the Add new row button in the navigator. How to do this? 
 
 
<s:url var="searchUrl" action="SearchAction"/>

<s:url var="editSearchUrl" action="editSearchAction"/>

<sjg:grid

         id="searchGridId"
    
      formIds="searchFormId"
     
    href="%{searchUrl}"
    
      reloadTopics="reloadSearchGrid"
    
      dataType="json" 
    
      pager="true"
    
      gridModel="searchResults"
    
      rowList="10,15,20"
    
      rowNum="15"
    
      rownumbers="true"
    
      viewrecords="true"
    
      autowidth="true"
    
      editurl="%{editSearchUrl}"
    
      editinline="true"
    
      navigator="true"
    
      navigatorAdd="false"
    
      navigatorViewOptions="{height:280, width:500}"
    
      navigatorDelete="false"
    
      navigatorEdit="false"
    
      navigatorRefresh="true"
    
      navigatorSearch="false"
    
      multiselect="false"
    
      onSelectRowTopics="rowselect"
>       

        
      <sjg:gridColumn name="orderNumber" index="orderNumber" title="%  {getText   ('label.orderNumber')}"
key="true" sortable="true"/>


      <sjg:gridColumn name="orderRange" index="orderRange" title="%{getText('label.orderRange)}"
sortable="false" editable="true" edittype="select"      editoptions="{value:'=:=;&lt;:&lt;;&gt;:&gt;'}"/>
 

 
</sjg:grid>
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message