blob: 9ea301789c3df5b5016efa5b643823d8df153fad (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$(() => {
var speciesDataTable = buildDataTable(
"#tbl-select-species",
JSON.parse(
$("#tbl-select-species").attr("data-species-list")),
[
{
data: (aspecies) => {
return `<input type="radio" name="species_id"`
+ `id="rdo_species_id_${aspecies.SpeciesId}" `
+ `value="${aspecies.SpeciesId}" class="chk-row-select">`;
}
},
{
data: (aspecies) => {
return `${aspecies.FullName} (${aspecies.SpeciesName})`;
}
}
]);
});
|