blob: c1374c67bbe357bd1f574d6bf9a12bef362e4ba8 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$(() => {
dtAddCommonHandlers("#tbl-select-species");
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})`;
}
}
]);
});
|