mirror of
https://github.com/bartvdbraak/SlayerWeightCalculator.git
synced 2025-04-28 10:01:22 +00:00
32 lines
No EOL
636 B
JavaScript
32 lines
No EOL
636 B
JavaScript
$(document).ready(function() {
|
|
$('#example').DataTable({
|
|
ajax: "data/krystilia.json",
|
|
columns: [
|
|
{ data: 'monster'},
|
|
{ data: 'taskweight'},
|
|
{
|
|
data: null,
|
|
render: function ( data, type, row ) {
|
|
return Math.round( col.taskweight * row.taskweight * 100 )+'%';
|
|
}
|
|
}
|
|
]
|
|
});
|
|
} );
|
|
|
|
|
|
|
|
|
|
function filterEntries() {
|
|
|
|
}
|
|
|
|
function addPercentages() {
|
|
|
|
}
|
|
|
|
function applyChanges() {
|
|
filterEntries();
|
|
addPercentages();
|
|
alert('Done.')
|
|
} |