setKeys

Set the keys in use by the tables - these ensure entries MUST exist if the data isn't sent. sets the current set of "keys" expected in each data array passed to addData. It also sets the way we are adding data to the data table. method specifies whether the data passed to addData represents a new column, or a new row. keys is an array whose keys are the keys for data being passed to addData(). if reverse is set to true, then the values of the variable "keys" are used as opposed to the keys(!
Parameters Summary
string $method = 'rows'
array $keys = array ( )
bool $reverse = false