refactor and rename table example into nested example
new example: expand event