Page 1 of 1

ColNumber dos not work

Posted: 2016-02-05 18:20
by tymek2
Documentation says: An array that specifies which fields to use in the table view. It works by selecting some (or all) of the fields listed in the QueryFieldsTV property.

But the code below does nothing (there are only sorting symbols appearing next to column labels ;-)

function table_init(&$options, $memberInfo, &$args){
$options->ColNumber = array(3, 5, 6, 7, 8);
return true;
}

I would like to show different columns to different groups of users.