%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2011 %>
'
gridColumns="[
{ dataIndex: 'name', header: '<%= t('common.name') %>', id: 'jobWhereusedName', locked: false, sortable: true, width: 175},
{ dataIndex: 'description', header: '<%= t('common.description') %>', id: 'jobWhereusedDescription', locked: false, sortable: true, width: 100}]"
height="200"
border='false'
includeDelete="true"
includeEdit="true"
includeTagFilter="true"
tagMatchAnyDefault="<%= match_any_default %>"
menuCfg="{items: [{
iconCls: 'icon_edit',
text: '<%= t "jobs.index.edit_job" %>',
actsOn: 'one',
actionUrl: '<%= edit_job_path(-1) %>'
},{
iconCls: 'icon_delete',
text: '<%= t "jobs.index.delete_job" %>',
actsOn: 'one',
method: 'DELETE',
actionUrl: '<%= job_path(-1) %>',
ajaxRequest: true,
confirmText: '<%= t "jobs.index.delete_confirmation" %>'
}]}"
sortField="{field: 'name', direction: 'ASC'}"
tbar="{}"
useCheckboxSelection="true"
rowToSelect="-1"
url="<%= jobs_path(:format => 'json', :agent_environment_id => @agent_environment.id) %>">