%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2009 %>
"
helpUrl="<%=help_link(HELP_URL_CONFIG['sap']['abap']['home'])%>"
region="center"
lazyRender="true"
dojoType="helpsys.ext.LiveGrid"
baseParameters="{
tag: '<%= params[:tag] %>'
}"
authenticity_token="<%= form_authenticity_token %>"
autoExpandColumn="sap_abap_step_setsGridDescription"
dataColumns="[{name: 'id'}, {name: 'name'}, {name: 'description'}, {name: 'sap_system'}]"
deletePath="<%= sap_abap_step_set_path(-1) %>"
editPath="<%= edit_sap_abap_step_set_path(-1) %>"
editInPopup="false"
itemType='<%= t('common.sap_abap_step_set') %>'
gridColumns="[
{dataIndex: 'name', header: '<%= t('common.name') %>', id: 'sap_abap_step_setsGridName', locked: false, sortable: true, width: 150, filter: true, filterType: 'string'},
{dataIndex: 'description', header: '<%= t('common.description') %>', id: 'sap_abap_step_setsGridDescription', locked: false, sortable: true, width: 150, filter: true, filterType: 'string'},
{dataIndex: 'sap_system', header: '<%= t('.sap_system') %>', id: 'sap_abap_step_setsGridSAPSystem', locked: false, sortable: true, width: 150, filter: true, filterType: 'string'}
]"
includeDelete="true"
includeEdit="true"
includeShow="true"
includeTagFilter="true"
tagMatchAnyDefault="<%= match_any_default %>"
menuCfg="{items: [{
iconCls: 'icon_edit',
text: '<%= t('.edit_sap_abap_step_set') %>',
actsOn: 'one',
actionUrl: '<%= edit_sap_abap_step_set_path(-1) %>'
<%#*usePopup: false%>
},{
iconCls: 'icon_copy',
text: '<%= t('.copy_sap_abap_step_set') %>',
actsOn: 'one',
actionUrl: '<%= copy_sap_abap_step_set_path(-1) %>'
},{
iconCls: 'icon_delete',
text: '<%= t('.delete_sap_abap_step_set') %>',
actsOn: 'one',
method: 'DELETE',
actionUrl: '<%= sap_abap_step_set_path(-1) %>',
ajaxRequest: true,
confirmText: '<%=t ".delete_confirmation" %>'
}, '-', {
iconCls: 'icon_export',
text: '<%=t ".export_sap_abap_step_set" %>',
actsOn: 'many',
method: 'EXPORT',
customAction: true,
hideLoadWindow: true,
handler: function(){exportController.openExportPopup.call(exportController)}
},{
iconCls: 'icon_audit',
text: '<%=t "common.show_audit_changes" %>',
actsOn: 'one',
actionUrl: '<%= audits_path(:auditable_id => -1, :auditable_type => 'SapAbapStepSet') %>'
},{
iconCls: 'icon_whereused',
text: '<%= t('common.where_used') %>',
actsOn: 'one',
actionUrl: '<%= whereused_sap_abap_step_set_path(-1) %>'
}]}"
sortField="{field: 'name', direction: 'ASC'}"
tbar="{items: [{
iconCls: 'icon_create',
text: '<%= t('.create_sap_abap_step_set') %>',
actsOn: 'none',
actionUrl: '<%= new_sap_abap_step_set_path(:sap_abap_set_type => SapAbapStepSet::SHARED) %>'
}]}"
url="<%= sap_abap_step_sets_path(:format => 'json') %>" style="height:100%;">