Revert "Revert "added new init method that accepts parameters for showTableIndex and showSectionHeaders""

This reverts commit 891ab01fac3f5a0e11859f0cb5994522fb24ef40.
directly set ivars here instead of calling overridden property setter