Hwo to pass parameters to a function

This is my addColumn function, to which I want to pass these two parameters, $result and $filter_id. ->addColumn(‘check_field’, function ($result,$filter_fld) { $check_fields = $filter_fld; $check_field_arr = $this->createAarrayChackList($check_fields); $status = in_array($result->id, $check_field_arr)==true ? ‘checked’ :”; return ‘<input type=”checkbox” class=”chk itemName form-check-input” id=”seasel” value=”$data->id” name=”origin_port” onclick=”get_value_to_hidden_field();” ‘.$status.’>’; }) How can i pass the two parameters?

Details

Google Maps NaN Error After Data Fetch Via API

Google Maps plots 5 dots correctly but prints out ERROR when I select > 5 dots to be shown. The Error is as follows: Uncaught (in promise) TypeError: Cannot read property ‘NaN’ of undefined at visualization_impl.js:2 at _.Oe.forEach (js?key=MY_API_KEY&callback=initMap&libraries=visualization:191) at aha (visualization_impl.js:2) at R$ (visualization_impl.js:9) at U$.<anonymous> (visualization_impl.js:8) at xe.j (js?key=MY_API_KEY&callback=initMap&libraries=visualization:189) at Object._.N.trigger (js?key=MY_API_KEY&callback=initMap&libraries=visualization:186) at…

Details