private function getColumnFromName($name)
{
foreach ($this->columnConfiguration as $i => $col) {
if ($col->getName() == $name) {
return $col;
}
}
// This exception should never happen. If it does, something is
// wrong w/ the relationship between searchable columns and the
// configuration.
throw new DatatableException("A requested column was not found in the columnConfiguration.");
}