def
func:gridColsToDict
gridColsToDict(grid, colToKey, colToVal)
Convert grid columns into a dict of name/val pairs. The name/val paris are derived from each column using the given functions. The functions take (col, index)
Example:
// create dict of column name to column dis read(temp).hisRead(today).gridColsToDict(c=>c.name, c=>c.meta.dis)