diff -r 2ee6ad5d6f14 -r a720353fada9 www/js/inv_fermentables.js
--- a/www/js/inv_fermentables.js Sun Aug 19 21:46:56 2018 +0200
+++ b/www/js/inv_fermentables.js Fri Aug 24 21:53:14 2018 +0200
@@ -26,7 +26,7 @@
theme: theme,
position: { x: 490, y: 210 },
width: 300,
- height: 145,
+ height: 175,
resizable: false,
isModal: true,
modalOpacity: 0.4,
@@ -165,10 +165,10 @@
localization: getLocalization(),
renderstatusbar: function (statusbar) {
var container = $("
");
- var addButton = $("Add ");
+ var addButton = $("Nieuw ");
container.append(addButton);
statusbar.append(container);
- addButton.jqxButton({ width: 60, height: 20 });
+ addButton.jqxButton({ theme: theme, width: 120, height: 20 });
// add new row.
addButton.click(function (event) {
editrow = -1;
@@ -199,17 +199,17 @@
filterable: true,
filtermode: 'excel',
columns: [
- { text: 'Vergistbaar product', datafield: 'name', width: 250 },
+ { text: 'Vergistbaar product', datafield: 'name', width: 270 },
{ text: 'Soort', datafield: 'type', align: 'center', cellsalign: 'center', width: 90 },
{ text: 'Mout type', datafield: 'graintype', align: 'center', cellsalign: 'center', width: 90 },
{ text: 'Herkomst', datafield: 'origin', width: 150 },
- { text: 'Producent', datafield: 'supplier', width: 150 },
+ { text: 'Producent', datafield: 'supplier', width: 200 },
{ text: 'Kleur', datafield: 'color', width: 70, align: 'right', cellsalign: 'right' },
{ text: 'Opbrengst', datafield: 'yield', width: 70, align: 'right', cellsalign: 'right', cellsformat: 'p1' },
- { text: 'Vooraad', datafield: 'inventory', width: 70, align: 'right', cellsalign: 'right', cellsformat: 'f3' },
- { text: 'Prijs', datafield: 'cost', width: 70, align: 'right', cellsalign: 'right', cellsformat: 'c2' },
- { text: 'Edit', datafield: 'Edit', width: 120, align: 'center', columntype: 'button', cellsrenderer: function () {
- return "Edit";
+ { text: 'Vooraad', datafield: 'inventory', width: 100, align: 'right', cellsalign: 'right', cellsformat: 'f3' },
+ { text: 'Prijs', datafield: 'cost', width: 100, align: 'right', cellsalign: 'right', cellsformat: 'c2' },
+ { text: 'Wijzig', datafield: 'Edit', width: 120, align: 'center', columntype: 'button', cellsrenderer: function () {
+ return "Wijzig";
}, buttonclick: function (row) {
// open the popup window when the user clicks a button.
editrow = row;