Unfortunately our code corner is a little out of date, as we have been
working on new ways to build templates.
The best I can recommend right now is to look to timesheet application as
an example, you can find its index & index.rows templates in
egroupware/timesheet/templates/default/
You can copy the .xet files to your application, and change them to suit.
Nathan