Add formatCommandWith to apply a template to the command columns.
Add .onClick to configure an onclick callback on the field columns.
Custom Template