Bug found at viewDataTable.php

public function setColumnsToDisplay( $columnsNames )
{
if(!is_array($columnsNames))
{
$columnsNames = array($columnsNames);
}
$this->columnsToDisplay = $columnsNames;
}

For example, i want only 3 columns of data to display on the table,
$columnNames=array(‘label’,‘0’,‘1’);
$view->setColumnsToDisplay($columnNames)

Then i find column ‘0’ will not be displayed on the table, others are fine.

I think that’s because ‘0’ == false in php so it is skipped in the code. Please rename it to anything else and it will work ok