Instead of writing the colmodel - I am trying to make it dynamic i.e.e, to get the complete col-model from database.
ex: if there are new columns next year, i do not want to edit the JavaScript instead if i add a column in database with necessary properties - i should be able to get it with inline functions,etc...
Any way to do this?