The coronavirus disease 2019 (COVID-19) pandemic has spread worldwide and caused negative economic and health effects. China is one of the most seriously affected countries, and it has adopted grid governance measures at the basic level of society, which include city lockdown, household survey and resident quarantine. By the end of April, China had basically brought the pandemic under control within its own borders, and residents' lives and factory production gradually began to return to normal. In referring to the specific cases of different communities, schools, and enterprises in the four cities of Anhui, Beijing, Shenzhen and Zibo, we analyze grid-based governance measures and we summarize the effectiveness and shortcomings of these measures and discuss foundations and future challenges of grid governance. We do so in the expectation (and hope) that the world will gain a comprehensive understanding of China's situation and introduce effective measures that enable the prevention and control of COVID-19.