Debt Disclosure [Abstract]
Schedule of Long-term Debt Instruments [Table]
Schedule of Long-term Debt Instruments [Table]
Scenario [Axis]
Scenario [Axis]
Scenario, Unspecified [Domain]
Scenario, Unspecified [Domain]
Scenario, Forecast [Member]
Scenario, Forecast [Member]
Credit Facility [Axis]
Credit Facility [Axis]
Credit Facility [Domain]
Credit Facility [Domain]
Revolving Credit Facility [Member]
Revolving Credit Facility [Member]
Long-term Debt, Type [Axis]
Long-term Debt, Type [Axis]
Long-term Debt, Type [Domain]
Long-term Debt, Type [Domain]
Line of Credit [Member]
Line of Credit [Member]
Debt Instrument [Line Items]
Debt Instrument [Line Items]
Notes, Loans and Financing Receivable, Gross, Noncurrent
Notes, Loans and Financing Receivable, Gross, Noncurrent
InterestOnUnrelatedPartyNoteReceivablePercentage
InterestOnUnrelatedPartyNoteReceivablePercentage
Interest On Unrelated Party Note Receivable Percentage
Third Party Contribution to Investment Fund
Third Party Contribution to Investment Fund
Third Party Contribution to Investment Fund
Notes Payable, Noncurrent
Notes Payable, Noncurrent
Debt Instrument, Interest Rate, Stated Percentage
Debt Instrument, Interest Rate, Stated Percentage
Line of Credit Facility, Maximum Borrowing Capacity
Line of Credit Facility, Maximum Borrowing Capacity
Line of Credit Facility, Interest Rate at Period End
Line of Credit Facility, Interest Rate at Period End
Line Of Credit Facility Capacity Available For Specific Purpose Other Than Trade Purchases
Line Of Credit Facility Capacity Available For Specific Purpose Other Than Trade Purchases
Long-term Line of Credit
Long-term Line of Credit
Benefit Over Recapture Period
Benefit Over Recapture Period
Benefit Over Recapture Period
Comprehensive Income (Loss), Net of Tax, Attributable to Parent [Abstract]
Net income
Net Income (Loss) Attributable to Parent
Other comprehensive income:
Other Comprehensive (Income) Loss, Defined Benefit Plan, after Reclassification Adjustment, Tax [Abstract]
Amortization of pension actuarial loss, net of tax
Other Comprehensive Income (Loss), Defined Benefit Plan, Gain (Loss), Reclassification Adjustment from AOCI, after Tax
Pension settlement loss, net of tax
Other Comprehensive Income (Loss), Defined Benefit Plan, Settlement and Curtailment Gain (Loss), after Tax
Comprehensive income
Comprehensive Income (Loss), Net of Tax, Attributable to Parent
Defined Benefit Plan [Abstract]
Schedule of Net Benefit Costs
Schedule of Net Benefit Costs [Table Text Block]
Commitments and Contingencies Disclosure [Abstract]
Insurance Recoveries
Insurance Recoveries
Related Party Transactions [Abstract]
RELATED PARTY INFORMATION - WAKEFERN
Related Party Transactions Disclosure [Text Block]
COMMITMENTS and CONTINGENCIES
Commitments and Contingencies Disclosure [Text Block]
Earnings Per Share [Abstract]
Schedule of Stock by Class [Table]
Schedule of Stock by Class [Table]
Class of Stock [Axis]
Class of Stock [Axis]
Class of Stock [Domain]
Class of Stock [Domain]
Common Class A [Member]
Common Class A [Member]
Common Class B [Member]
Common Class B [Member]
Class of Stock [Line Items]
Class of Stock [Line Items]
Conversion of Stock, Conversion Ratio
Conversion of Stock, Conversion Ratio
Conversion of Stock, Conversion Ratio
Numerator:
Earnings Per Share Reconciliation [Abstract]
Net income allocated, basic
Net Income (Loss) Available to Common Stockholders, Basic
Conversion of Class B to Class A shares
Two Class Income Allocation Class B Conversion to Class A
Effect of share-based compensation on allocated net income
Two Class Income Distribution Share Based Compensation
Net income allocated, diluted
Net Income (Loss) Available to Common Stockholders, Diluted
Denominator:
Weighted Average Number of Shares Outstanding Reconciliation [Abstract]
Weighted average shares outstanding, basic (in shares)
Weighted Average Number of Shares Outstanding, Basic
Conversion of Class B to Class A shares (in shares)
Two Class Share Allocation Class B Conversion to Class A
Dilutive effect of share-based compensation (in shares)
Incremental Common Shares Attributable to Dilutive Effect of Share-based Payment Arrangements
Weighted average shares outstanding, diluted (in shares)
Weighted Average Number of Shares Outstanding, Diluted
Statement of Stockholders' Equity [Abstract]
Tax expense (benefit) associated with other comprehensive loss and income
Other Comprehensive Income (Loss), Tax, Portion Attributable to Parent
Revenue from Contract with Customer [Abstract]
Revenue from External Customers by Products and Services [Table]
Revenue from External Customers by Products and Services [Table]
Adjustments for New Accounting Pronouncements [Axis]
Adjustments for New Accounting Pronouncements [Axis]
Type of Adoption [Domain]
Type of Adoption [Domain]
Cost of Sales [Member]
Cost of Sales [Member]
Operating Expense [Member]
Operating Expense [Member]
Revenue from External Customer [Line Items]
Revenue from External Customer [Line Items]
Prior Period Reclassification Adjustment
Prior Period Reclassification Adjustment
Number of common stock classes
Number of Classes of Common Stock
Number of Classes of Common Stock
Common stock cash dividends, percent Class A is entitled greater than Class B
Dividends, Common Stock, Cash, Percent Class A is Entitled Greater than Class B
Dividends, Common Stock, Cash, Percent Class A is Entitled Greater than Class B
Conversion of stock, conversion ratio
Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table]
Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table]
Restricted Stock Units (RSUs) [Member]
Restricted Stock Units (RSUs) [Member]
Antidilutive Securities [Axis]
Antidilutive Securities [Axis]
Antidilutive Securities, Name [Domain]
Antidilutive Securities, Name [Domain]
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]
Class A shares excluded from computation of earnings per share
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount
Accounting Policies [Abstract]
Disaggregation of Revenue [Table Text Block]
Disaggregation of Revenue [Table Text Block]
Income Statement [Abstract]
Statement [Table]
Statement [Table]
Statement [Line Items]
Statement [Line Items]
Sales
Revenue from Contract with Customer, Excluding Assessed Tax
Cost of sales
Cost of Goods and Services Sold
Gross profit
Gross Profit
Operating and administrative expense
General and Administrative Expense
Depreciation and amortization
Depreciation, Depletion and Amortization
Operating income
Operating Income (Loss)
Net Income (Loss) from Real Estate Investment Partnership
Net Income (Loss) from Real Estate Investment Partnership
Interest expense
Interest Expense
Interest income
Investment Income, Interest
Income taxes
Income Tax Expense (Benefit)
Net income
Net income per share:
Earnings Per Share, Basic and Diluted [Abstract]
Basic (in dollars per share)
Earnings Per Share, Basic
Diluted (in dollars per share)
Earnings Per Share, Diluted
Document and Entity Information [Abstract]
Document and Entity Information [Abstract]
Entity Registrant Name
Entity Registrant Name
Entity Central Index Key
Entity Central Index Key
Current Fiscal Year End Date
Current Fiscal Year End Date
Entity Filer Category
Entity Filer Category
Document Type
Document Type
Document Period End Date
Document Period End Date
Document Fiscal Year Focus
Document Fiscal Year Focus
Document Fiscal Period Focus (Q1,Q2,Q3,FY)
Document Fiscal Period Focus
Amendment Flag
Amendment Flag
Entity Emerging Growth Company
Entity Emerging Growth Company
Entity Small Business
Entity Small Business
Entity Common Stock, Shares Outstanding
Entity Common Stock, Shares Outstanding
Tax of amortization of pension actuarial loss
Other Comprehensive Income (Loss), Defined Benefit Plan, Gain (Loss), Reclassification Adjustment from AOCI, Tax
Tax on pension settlement loss
Other Comprehensive Income (Loss), Defined Benefit Plan, Adjustment for Settlement or Curtailment Gain (Loss), Tax
NET INCOME (LOSS) PER SHARE
Earnings Per Share [Text Block]
Income Tax Disclosure [Abstract]
INCOME TAXES
Income Tax Disclosure [Text Block]
Schedule of Related Party Transactions, by Related Party [Table]
Schedule of Related Party Transactions, by Related Party [Table]
Receivable Type [Axis]
Receivable Type [Axis]
Receivable [Domain]
Receivable [Domain]
Related Party Note Receivable Maturing August 2022 [Member]
Related Party Note Receivable Maturing August 2022 [Member]
Related Party Note Receivable Maturing August 2022 [Member]
Related Party Note Receivable Maturing February 2024 [Member]
Related Party Note Receivable Maturing February 2024 [Member]
Related Party Note Receivable Maturing February 2024 [Member]
Related Party Note Receivable Maturing February 2019 [Member]
Related Party Note Receivable Maturing Feb 2019 [Member]
Related Party Note Receivable Maturing Feb 2019 [Member]
Related Party [Axis]
Related Party [Axis]
Related Party [Domain]
Related Party [Domain]
Investee [Member]
Investee [Member]
Wakefern [Member]
Equity Method Investee [Member]
Related Party Transaction [Line Items]
Related Party Transaction [Line Items]
Increase of required investment in Wakefern common stock
Investments in and Advances to Affiliates, at Fair Value, Period Increase (Decrease)
Proceeds from Sale, Maturity and Collection of Long-term Investments
Proceeds from Sale, Maturity and Collection of Long-term Investments
Basis spread on prime rate
Related Party Transaction, Basis Spread on Variable Rate
Related Party Transaction, Basis Spread on Variable Rate
Due from Related Parties
Due from Related Parties
Proceeds from Collection of Notes Receivable
Proceeds from Collection of Notes Receivable
Demand deposits at Wakefern
Cash Equivalents, at Carrying Value
Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward]
Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward]
Balance at beginning of year
Unrecognized Tax Benefits
Additions based on tax positions related to the current period
Unrecognized Tax Benefits, Increase Resulting from Current Period Tax Positions
Unrecognized Tax Benefits, Decrease Resulting from Prior Period Tax Positions
Unrecognized Tax Benefits, Decrease Resulting from Prior Period Tax Positions
Unrecognized Tax Benefits, Decrease Resulting from Settlements with Taxing Authorities
Unrecognized Tax Benefits, Decrease Resulting from Settlements with Taxing Authorities
Balance at end of period
PENSION PLANS
Pension and Other Postretirement Benefits Disclosure [Text Block]
Defined Benefit Plan, Benefit Obligation, (Increase) Decrease for Curtailment
Defined Benefit Plan, Benefit Obligation, (Increase) Decrease for Curtailment
Revenue Recognition and Deferred Revenue [Abstract]
Products and Services [Table]
Products and Services [Table]
Product and Service [Axis]
Product and Service [Axis]
Product and Service [Domain]
Product and Service [Domain]
Center Store [Member]
Center Store [Member]
Center Store [Member]
Fresh
Fresh [Member]
Fresh [Member]
Pharmacy
Pharmacy [Member]
Pharmacy [Member]
Other Product
Other Product [Member]
Other Product [Member]
Disaggregation of Revenue [Line Items]
Disaggregation of Revenue [Line Items]
Percentage of Total Sales
Percentage of Total Sales
Percentage of Total Sales
Revenues
BASIS OF PRESENTATION and ACCOUNTING POLICIES
Significant Accounting Policies [Text Block]
Schedule of Earnings Per Share, Basic and Diluted
Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]
Number of defined benefit pension plans
Number of Defined Benefit Pension Plans
Number of Defined Benefit Pension Plans
Loss on settlement
Defined Benefit Plan, Net Periodic Benefit Cost (Credit), Gain (Loss) Due to Settlement
Employer contributions in current fiscal year
Defined Benefit Plan, Plan Assets, Contributions by Employer
Defined Benefit Plan, Net Periodic Benefit Cost (Credit) [Abstract]
Defined Benefit Plan, Net Periodic Benefit Cost (Credit) [Abstract]
Service cost
Defined Benefit Plan, Service Cost
Interest cost on projected benefit obligations
Defined Benefit Plan, Interest Cost
Expected return on plan assets
Defined Benefit Plan, Expected Return (Loss) on Plan Assets
Amortization of net losses
Defined Benefit Plan, Amortization of Gain (Loss)
Net periodic pension cost
Defined Benefit Plan, Net Periodic Benefit Cost (Credit)
Statement of Financial Position [Abstract]
ASSETS
Assets [Abstract]
Current assets
Assets, Current [Abstract]
Cash and cash equivalents
Cash and Cash Equivalents, at Carrying Value
Merchandise inventories
Inventory, Net
Patronage dividend receivable
Patronage dividend receivable
Notes receivable from Wakefern, Current
Due from Related Parties, Current
Income Taxes Receivable, Current
Income Taxes Receivable, Current
Other current assets
Other Assets, Current
Total current assets
Assets, Current
Property, equipment and fixtures, net
Property, Plant and Equipment, Net
Notes receivable from Wakefern
Due from Related Parties, Noncurrent
Investment in Wakefern
Investments in and Advance to Affiliates, Subsidiaries, Associates, and Joint Ventures
Goodwill
Goodwill
Other assets
Other Assets
Total assets
Assets
LIABILITIES AND SHAREHOLDERS' EQUITY
Liabilities and Equity [Abstract]
Current liabilities
Liabilities, Current [Abstract]
Capital and financing lease obligations
Capital Lease Obligations, Current
Notes payable to Wakefern
Notes Payable, Related Parties, Current
Accounts payable to Wakefern
Accounts Payable, Related Parties, Current
Accounts payable and accrued expenses
Accounts Payable and Accrued Liabilities, Current
Accrued wages and benefits
Employee-related Liabilities, Current
Income taxes payable
Accrued Income Taxes, Current
Total current liabilities
Liabilities, Current
Long-term debt
Long-term Debt and Capital Lease Obligations [Abstract]
Capital and financing lease obligations
Capital Lease Obligations, Noncurrent
Notes payable to Wakefern
Notes Payable, Related Parties, Noncurrent
Total long-term debt
Long-term Debt
Pension liabilities
Liability, Defined Benefit Plan, Noncurrent
Other liabilities
Other Liabilities
Commitments and contingencies
Commitments and Contingencies
Shareholders' equity
Stockholders' Equity Attributable to Parent [Abstract]
Preferred stock, no par value: Authorized 10,000 shares, none issued
Preferred Stock, Value, Issued
Common Stock
Common Stock, Value, Issued
Retained earnings
Retained Earnings (Accumulated Deficit)
Accumulated other comprehensive loss
Accumulated Other Comprehensive Income (Loss), Net of Tax
Less treasury stock, Class A, at cost: 496 shares at July 28, 2018 and 477 shares at July 29, 2017
Treasury Stock, Value
Total shareholders’ equity
Stockholders' Equity Attributable to Parent
Total liabilities and shareholders’ equity
Liabilities and Equity
Inventory Disclosure [Abstract]
Percentage of LIFO Inventory
Percentage of LIFO Inventory
Inventory, LIFO Reserve
Inventory, LIFO Reserve
Schedule of Unrecognized Tax Benefits Roll Forward
Schedule of Unrecognized Tax Benefits Roll Forward [Table Text Block]
MERCHANDISE INVENTORIES
Inventory Disclosure [Text Block]
Statement of Cash Flows [Abstract]
CASH FLOWS FROM OPERATING ACTIVITIES
Net Cash Provided by (Used in) Operating Activities [Abstract]
Adjustments to reconcile net income to net cash provided by operating activities:
Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]
Non-cash share-based compensation
Share-based Compensation
Deferred taxes
Deferred Income Tax Expense (Benefit)
Provision to value inventories at LIFO
Inventory, LIFO Reserve, Effect on Income, Net
Gain (Loss) on Disposition of Assets
Gain (Loss) on Disposition of Assets
Changes in assets and liabilities:
Increase (Decrease) in Operating Capital [Abstract]
Merchandise inventories
Increase (Decrease) in Inventories
Patronage dividend receivable
Change in patronage dividend receivable
Accounts payable to Wakefern
Increase (Decrease) in Accounts Payable, Related Parties
Accounts payable and accrued expenses
Increase (Decrease) in Accounts Payable and Accrued Liabilities
Accrued wages and benefits
Increase (Decrease) in Accrued Salaries
Income taxes receivable / payable
Increase (Decrease) in Income Taxes Payable, Net of Income Taxes Receivable
Other assets and liabilities
Increase (Decrease) in Other Operating Assets and Liabilities, Net
Net cash provided by operating activities
Net Cash Provided by (Used in) Operating Activities
CASH FLOWS FROM INVESTING ACTIVITIES
Net Cash Provided by (Used in) Investing Activities [Abstract]
Capital expenditures
Payments to Acquire Property, Plant, and Equipment
Proceeds from Sale of Property, Plant, and Equipment
Proceeds from Sale of Property, Plant, and Equipment
Investment in notes receivable from Wakefern
Proceeds from Collection of (Payments to Fund) Long-term Loans to Related Parties
Payments to Acquire Notes Receivable
Payments to Acquire Notes Receivable
Investment in New Market Tax Credit Financing
Investment in New Market Tax Credit Financing
Investment in New Market Tax Credit Financing
Proceeds from Partnership Contribution
Proceeds from Partnership Contribution
Net Cash Provided by (Used in) Investing Activities
Net Cash Provided by (Used in) Investing Activities
CASH FLOWS FROM FINANCING ACTIVITIES
Net Cash Provided by (Used in) Financing Activities [Abstract]
Proceeds from exercise of stock options
Proceeds from Stock Options Exercised
Excess tax benefit related to share-based compensation
Excess Tax Benefit from Share-based Compensation, Financing Activities
Proceeds from Notes Payable
Proceeds from Notes Payable
Payments of Debt Issuance Costs
Payments of Debt Issuance Costs
Principal payments of long-term debt
Repayments of Notes Payable
Dividends
Payments of Dividends
Payments for Repurchase of Common Stock
Payments for Repurchase of Common Stock
Net cash used in financing activities
Net Cash Provided by (Used in) Financing Activities
NET DECREASE IN CASH, CASH EQUIVALENTS AND RESTRICTED CASH
Cash and Cash Equivalents, Period Increase (Decrease)
Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents
Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents
Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents
SUPPLEMENTAL DISCLOSURES OF CASH PAYMENTS MADE FOR:
Supplemental Cash Flow Information [Abstract]
Interest
Interest Paid, Including Capitalized Interest, Operating and Investing Activities
Income taxes
Income Taxes Paid
NONCASH SUPPLEMENTAL DISCLOSURES:
Noncash Investing and Financing Items [Abstract]
Investment in Wakefern and increase in notes payable to Wakefern
Notes Issued
Cash and Cash Equivalents, at Carrying Value
Interest Paid, Excluding Capitalized Interest, Operating Activities
Interest Paid, Excluding Capitalized Interest, Operating Activities
Debt Disclosure [Text Block]
Debt Disclosure [Text Block]
Preferred stock shares authorized (in shares)
Preferred Stock, Shares Authorized
Preferred stock shares issued (in shares)
Preferred Stock, Shares Issued
Common stock shares authorized (in shares)
Common Stock, Shares Authorized
Common stock shares issued (in shares)
Common Stock, Shares, Issued
Treasury shares
Treasury Stock, Shares
Equity Components [Axis]
Equity Components [Axis]
Equity Component [Domain]
Equity Component [Domain]
Common Stock [Member]
Common Stock [Member]
Retained Earnings [Member]
Retained Earnings [Member]
AOCI Attributable to Parent [Member]
AOCI Attributable to Parent [Member]
Treasury Stock [Member]
Treasury Stock [Member]
Balance (in shares)
Shares, Issued
Balance
Other comprehensive income, net of tax
Other Comprehensive Income (Loss), Net of Tax
Dividends
Dividends
Exercise of stock options (in shares)
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period
Exercise of stock options
Stock Issued During Period, Value, Stock Options Exercised
Treasury stock purchases (in shares)
Stock Repurchased During Period, Shares
Treasury stock purchases
Treasury Stock, Value, Acquired, Cost Method
Restricted shares forfeited (in shares)
Stock Issued During Period, Shares, Restricted Stock Award, Forfeited
Restricted shares forfeited
Stock Granted, Value, Share-based Compensation, Forfeited
Share-based compensation expense (in shares)
Stock Issued During Period, Shares, Share-based Compensation, Net of Forfeitures
Share-based compensation expense
Stock Granted, Value, Share-based Compensation, Net of Forfeitures
Conversion of Class B shares to Class A shares (in shares)
Conversion of Stock, Shares Issued
Conversion of Class B shares to Class A shares
Conversion of Stock, Amount Converted
Balance (in shares)
Balance
Income Tax Contingency [Table]
Income Tax Contingency [Table]
Income Tax Authority [Axis]
Income Tax Authority [Axis]
Income Tax Authority [Domain]
Income Tax Authority [Domain]
State and Local Jurisdiction [Member]
State and Local Jurisdiction [Member]
Income Taxes [Axis]
Income Taxes [Axis]
Income Taxes [Axis]
Income Taxes [Domain]
Income Taxes [Domain]
Income Taxes Domain
Income Tax Expense on Prior Year Tax Positions [Member]
Income Tax Expense on Prior Year Tax Positions [Member]
Income Tax Expense on Prior Year Tax Positions [Member]
Net [Member]
Net [Member]
Net [Member]
Income Tax Contingency [Line Items]
Income Tax Contingency [Line Items]
Effective income tax rate excluding the impact of the adjustment of deferred tax expense
Effective Income Tax Rate Reconciliation, Excluding Change In Enacted Tax Rate, Percent
Effective Income Tax Rate Reconciliation, Excluding Change In Enacted Tax Rate, Percent
Effective Income Tax Rate Reconciliation, Percent
Effective Income Tax Rate Reconciliation, Percent
Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent
Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent
Income Tax Expense (Benefit), Continuing Operations, Adjustment of Deferred Tax (Asset) Liability
Income Tax Expense (Benefit), Continuing Operations, Adjustment of Deferred Tax (Asset) Liability
Effective Income Tax Rate Reconciliation, State and Local Income Taxes, Percent
New Jersey Statutory Income Tax Rate
New Jersey Statutory Income Tax Rate
ProvisionalOneTimeU.S.TaxReformChargeRevaluationofDeferredTaxAssetsandLiabilities
ProvisionalOneTimeU.S.TaxReformChargeRevaluationofDeferredTaxAssetsandLiabilities
ProvisionalOneTimeU.S.TaxReformChargeRevaluationofDeferredTaxAssetsandLiabilities
Income Tax Examination, Number of Tax Assessments
Income Tax Examination, Number of Tax Assessments
Income Tax Examination, Number of Tax Assessments
Charge to income tax expense
Income Tax Examination, Increase (Decrease) in Liability from Prior Year
Possible result in reduction in gross unrecognized tax benefits
Interest and penalties on income taxes
Unrecognized Tax Benefits, Income Tax Penalties and Interest Expense
Approximate payment to settle dispute
Tax Adjustments, Settlements, and Unusual Provisions
Total expected cash outflow as a result of settlement
Payments for Tax Settlements, Net of Federal Benefit
Payments for Tax Settlements, Net of Federal Benefit
Income Tax Examination, Liability (Refund) Adjustment from Settlement with Taxing Authority
Income Tax Examination, Liability (Refund) Adjustment from Settlement with Taxing Authority