Hi.
I'm using right now the last version of PHPMaker: 2024.15.
I want to add custom columnt to my lists, but the new columns won't show the headers. I've tryed using the example and nothing:
function ListOptions_Load() {
$item = &$this->ListOptions->add("new");
$item->Header = "MyCaption"; // Set the column header (for List page)
//$item->OnLeft = true; // Link on left
//$item->moveTo(0); // Move the column to the specified index
}
And:
function ListOptions_Rendered()
{
// Example:
$this->ListOptions->Items["new"]->Body = "xxx";
}
But the Header is empty. It worked in previous PHPMaker, likes 2020.
Thanks.