Follow this end to end tutorial - the grid worked perfectly when I followed this one: Adobe Summit 2019 | L767 - Getting Started with Adobe Experience Manager Sites Development
Also - just so you know - the article that you referenced was for AEM Form that you create by using AEM Foundation components. If the form core component does not meet your needs - look at using the foundation form components.