def

func:reorderCols

reorderCols(grid, colNames)

Return a new grid with the columns reordered. The given list of names represents the new order and must contain the same current column names. Any columns not specified are removed. Also see colNames(), moveTo(), and Streams.

Example:

// move name to first col, and foo to last col
cols: grid.colNames.moveTo("name", 0).moveTo("foo", -1)
return grid.reorderCols(cols)

meta

supertypes

feature

Feature namespace of definitions formatted as feature:name

    func

Axon function