www/js/inv_yeasts.js

changeset 37
9362eb9e9e5b
parent 34
a720353fada9
child 198
f0ec83e1e01f
--- a/www/js/inv_yeasts.js	Sat Aug 25 11:40:31 2018 +0200
+++ b/www/js/inv_yeasts.js	Sat Aug 25 13:07:13 2018 +0200
@@ -183,15 +183,15 @@
 		filterable: true,
 		filtermode: 'excel',
 		columns: [
-			{ text: 'Gist naam', datafield: 'name', width: 350 },
 			{ text: 'Laboratorium', datafield: 'laboratory', width: 150 },
 			{ text: 'Product ID', datafield: 'product_id', width: 120 },
+			{ text: 'Gist naam', datafield: 'name' },
 			{ text: 'Type', datafield: 'type', align: 'center', cellsalign: 'center', width: 90 },
 			{ text: 'Vorm', datafield: 'form', align: 'center', cellsalign: 'center', width: 90 },
 			{ text: 'Vergistingsgraad', datafield: 'attenuation', width: 120, align: 'right', cellsalign: 'right', cellsformat: 'p0' },
 			{ text: 'Voor. gr/ml', datafield: 'inventory', width: 100, align: 'right', cellsalign: 'right', cellsformat: 'f1' },
 			{ text: 'Prijs kg/l', datafield: 'cost', width: 100, align: 'right', cellsalign: 'right', cellsformat: 'c2' },
-			{ text: 'Wijzig', datafield: 'Edit', columntype: 'button', align: 'center', cellsrenderer: function () {
+			{ text: 'Wijzig', datafield: 'Edit', columntype: 'button', width: 120, align: 'center', cellsrenderer: function () {
 				return "Wijzig";
 				}, buttonclick: function (row) {
 					// open the popup window when the user clicks a button.

mercurial