diff -r 4b829f689d7e -r 9362eb9e9e5b www/js/inv_hops.js --- a/www/js/inv_hops.js Sat Aug 25 11:40:31 2018 +0200 +++ b/www/js/inv_hops.js Sat Aug 25 13:07:13 2018 +0200 @@ -190,18 +190,18 @@ filterable: true, filtermode: 'excel', columns: [ - { text: 'Hop Naam', datafield: 'name', width: 250 }, + { text: 'Herkomst', datafield: 'origin', align: 'center', cellsalign: 'center', width: 150 }, + { text: 'Hop Naam', datafield: 'name' }, { text: 'Soort', datafield: 'type', align: 'center', cellsalign: 'center', width: 90 }, { text: 'Vorm', datafield: 'form', align: 'center', cellsalign: 'center', width: 90 }, { text: 'Alpha %', datafield: 'alpha', width: 80, align: 'right', cellsalign: 'right', cellsformat: 'p1' }, { text: 'Beta %', datafield: 'beta', width: 80, align: 'right', cellsalign: 'right', cellsformat: 'p1' }, { text: 'Cohumuloon %%', datafield: 'cohumulone', width: 80, align: 'right', cellsalign: 'right', cellsformat: 'p1' }, { text: 'HSI', datafield: 'hsi', width: 60, align: 'right', cellsalign: 'right', cellsformat: 'f1' }, - { text: 'Herkomst', datafield: 'origin', align: 'center', cellsalign: 'center', width: 150 }, { text: 'Oogst datum', datafield: 'production_date', align: 'center', cellsalign: 'center', width: 100 }, { text: 'Voor, gr.', datafield: 'inventory', width: 70, align: 'right', cellsalign: 'right', cellsformat: 'f1' }, { text: 'Prijs /kg', datafield: 'cost', width: 70, align: 'right', cellsalign: 'right', cellsformat: 'c2' }, - { text: 'Wijzig', datafield: 'Wijzig', columntype: 'button', align: 'center', cellsrenderer: function () { + { text: 'Wijzig', datafield: 'Wijzig', columntype: 'button', width: 120, align: 'center', cellsrenderer: function () { return "Wijzig"; }, buttonclick: function (row) { // open the popup window when the user clicks a button.