i need to get some field value in grid
example
$a = $grid->getKey('amount');
$b = $grid->getKey('tax');
and finaly add a new column dont exist in the table Total = a * b
:))))))))) solved
$grid->column('Total')->display(function () {
return $this->amount*$this->tax/100;
});
by using $this-> and the name of column
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
:))))))))) solved
by using $this-> and the name of column