Alternatively method

The above does a good job if using something very similar. I had combo boxes so instead I came up with the following method instead. It creates the same result but instead traps the submit query and adds the hidden inputs via Javascript rather than the use of client templates.

Create your Grid as normal and without the client templates required above.
Use JavaScript similar to below to insert the Inputs on the submit.