Creating a Table Component for Sitecore
So not too long ago I had a requirement to create an Table component for a client. Before you shoot me down, I know this is generally a bad idea as the RTE in Sitecore has in-built support for Tables and there are Rich Snippets too. However there were a number of reasons that wouldn’t work well in this scenario, read on to find out why. But, but RTE!? There were some specific requirements which couldn’t be met by the RTE or Rich Snippets fully, we needed to: Add some specific mark-up, classes and wrapping divs around the table (some of this was for responsive requirements). Enforce Table header, body and footer rows Reduce the options for cells and rows to control better what content editors can do (for consistency). Be able to update the table mark-up easily in the future (so Rich Snippets … Continue reading Creating a Table Component for Sitecore