I need to do some match calculation on list page based on list values. so i created a phpcode snippet on list page with value
$record = $pageObject->getCurrentRecord();
$conversion = ($record['no_of_bookings_value']/$record['availability_check_value'])*100;
echo $conversion;
But it gives me error on getCurrentRecord(). I guess, this event can't be used on list page. I wonder what else can I use on list page to get value.