Ok, maybe I am trying to accomplish too much at one step, I have been reading thru everything and I am thinking may just have a structured source table of x and just do dynamic titles based on the requirement in an array....
I was wanting to store the colM string then just do a pull by having some column flag of 1 or 0... Reviewing documentation we can do a tableToArray( $table ), but I don't want all the items from the data to be in the column model, the other columns on the source will identify format, edit fields, other parameters, etc...
Just curious if the flexibility is there, or am I to go on a set structure that I am thinking, then we do an array of objects for data, or do we do array of array then make an array for the title.
IE:
var ttlIndx = ['Col1', 'Col2', 'Col3', 'Col4', 'Col5'];
var editIndx = [false, false, true, true, true]
var colM = [{title: ttlIndx[0], editable: editIndx[0], dataIndx: ttlIndx[0], ...}
Either way any property I can call from a REST and the var = Rest call from Ajax. Just trying to avoid a static approach on this..
Thoughts if this would be the correct approach. Please and thank you!!!