%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2011 %>
', id: 'showForecastGridJob', locked: false, sortable: true, width: 150, filter: true, filterType: 'string'},
{dataIndex: 'agent_name', header: '<%=t "common.agent" %>', id: 'showForecastGridAgent', locked: false, sortable: true, width: 150, filter: true, filterType: 'string'},
{dataIndex: 'job_queue_name', header: '<%=t "common.queue" %>', id: 'showForecastGridJobQueueName', locked: false, sortable: true, width: 150, filter: true, filterType: 'string'},
{dataIndex: 'agent_group_name', header: '<%=t "common.agent_group" %>', id: 'showForecastGridAgentGroup', locked: false, sortable: true, width: 150, filter: true, filterType: 'string', hidden: true},
{dataIndex: 'scheduled_timestamp', header: '<%=t "forecast.start_time" %>', id: 'showForecastGridStarttime', locked: false, sortable: true, width: 200, filter: false},
{dataIndex: 'completion_timestamp', header: '<%=t "forecast.end_time" %>', id: 'showForecastGridEndtime', locked: false, sortable: true, width: 200, filter: false},
{dataIndex: 'duration', header: '<%=t "common.duration" %>', id: 'showForecastGridDuration', locked: false, sortable: true, width: 100, filter: false},
{dataIndex: 'running_duration', header: '<%=t "common.running_duration" %>', id: 'showForecastGridRunningDuration', locked: false, sortable: true, width: 100, filter: false, hidden: true},
{dataIndex: 'queued_duration', header: '<%=t "common.queued_duration" %>', id: 'showForecastGridQueuedDuration', locked: false, sortable: true, width: 100, filter: false, hidden: true},
{dataIndex: 'scheduled_code', header: '<%=t "common.init_code" %>', id: 'showForecastGridHint', locked: false, sortable: false, width: 150, filter: true, filterType: 'list', filterList: <%= ForecastJobRun.FILTER_INITIATION_CODE_ALL.gsub("\"", "'") %>},
{dataIndex: 'hold_status', header: '<%=t "forecast.hold_status.title" %>', id: 'showForecastGridHoldStatus', locked: false, sortable: false, width: 100, filter: true, filterType: 'list', filterList: <%= "[[1, '#{t('forecast.hold_status.held_for_generic')}'],[2, '#{t('forecast.hold_status.held_generic')}'],[3, '#{t('forecast.hold_status.held_until_generic')}'],[0, '#{t('forecast.hold_status.released_generic')}']]" %>}]"
includeDelete="false"
includeEdit="false"
includeShow="false"
includeTagFilter="true"
tagMatchAnyDefault="<%= match_any_default %>"
showInPopup=false
sortField="{field: 'scheduled_timestamp', direction: 'ASC'}"
stateful="false"
tbar="{items: []}"
url="<%= forecast_path(:list => 'jobs', :format => 'json') %>">