Hi all,
I'm trying to use gridfield in front-end template.
When I'm using:
$gridField = new GridField('test', 'test', SiteTree::get(), $gridFieldConfig);
it works, but this one
$gridField = new GridField('test', 'test', My_custom_table::get(), $gridFieldConfig);
does not work. On the page I can see View 1–9 of 9 , but in table area there is only No items found message
How can I fix it please in order to see my records?
By the way, do you have better documentation to GridField and all it's components?
In this official documentation lacks a lot of explanations.