fixes for dynamic generation of column no's

-as discussed in the chat, removed the hard-coded no's from columns when creating custom table 
-fixed the sample data for the same