<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2009 %>
', id: 'calendarsGridName', locked: false, sortable: true, width: 200, filter: true, filterType: 'string'}, {dataIndex: 'description', header: '<%=t "common.description" %>', id: 'calendarsGridDescription', locked: false, sortable: true, width: 200, filter: true, filterType: 'string'}, {dataIndex: 'fiscal', header: '<%=t "calendars.type" %>', id: 'calendarsGridFiscal', locked: false, sortable: true, width: 150, filter: true, filterType: 'list', filterList: <%= "[['TRUE', '#{t('calendars.fiscal')}'],['FALSE', '#{t('calendars.standard')}']]" %>}]" includeDelete="true" includeEdit="true" includeShow="true" includeTagFilter="true" tagMatchAnyDefault="<%= match_any_default %>" itemType='<%= t('common.calendar') %>' menuCfg="{items: [{ iconCls: 'icon_edit', text: '<%= t('.edit_calendar_object') %>', actsOn: 'one', actionUrl: '<%= edit_calendar_path(-1) %>' },{ iconCls: 'icon_copy', text: '<%= t('.copy_calendar_object') %>', actsOn: 'one', actionUrl: '<%= copy_calendar_path(-1) %>' },{ iconCls: 'icon_delete', text: '<%= t('.delete_calendar_object') %>', actsOn: 'one', method: 'DELETE', actionUrl: '<%= calendar_path(-1) %>', ajaxRequest: true, confirmText: '<%=t ".delete_confirmation" %>' }, '-', { iconCls: 'icon_export', text: '<%=t ".export_calendar" %>', 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 => 'Calendar') %>' }, { iconCls: 'icon_whereused', text: '<%= t('common.where_used') %>', actsOn: 'one', actionUrl: '<%= whereused_calendar_path(-1) %>' } ]}" sortField="{field: 'name', direction: 'ASC'}" tbar="{items: [{ iconCls: 'icon_create', text: '<%= t('.create_calendar_object') %>', actsOn: 'none', actionUrl: '<%= new_calendar_path %>' }, { iconCls: 'icon_create', text: '<%= t('.create_fiscal_calendar_object') %>', actsOn: 'none', actionUrl: '<%= new_calendar_path(:fiscal_cal => true) %>' }]}" url="<%= calendars_path(:format => 'json') %>" style="height:100%;">