Hi, I have a searchable report that shows the id so I can have a hyperlink to the record. How can I replace the ID label with a custom value from the database i.e. name of the record and still link to the id ? '>@value</a> <- replace this with the name of the tour i.e. tourname thank you <a href='https://my.ellisontravel.com/tour/tours/@value'>@value</a>
<?php
DataTables::create(array(
    "dataSource"=>$this->dataStore("searchabletours"),
    "options"=>array(
        "searching"=>true
    ),
    "columns"=>array(
        "tourid"=>array(
            "type"=>"text",
            "label"=>"id",
            "formatValue"=>"<a href='https://my.ellisontravel.com/tour/tours/@value'>@value</a>"
        ),
        "tourname"=>array(
            "type"=>"text",
            "label"=>"Tours"
        ),
        "planner",
        "CountryName",
        "startDate",
        "endDate",
        "insurance_number"
    )
));