Hi Pallavi,
We are in CRM 7.0 version and couldn't try latest UI features. So I have solved the problem in a different way.
I have placed just a period(.) for column name and created 1st row in the table with Column names and created onclick event for these columns. I have user Iterator class also.
Here is how my table view looks like. Please let me know if you need any other information.
Thank you
Anji