www/js/inv_fermentables.js

changeset 37
9362eb9e9e5b
parent 34
a720353fada9
child 51
7224109adfe1
equal deleted inserted replaced
36:4b829f689d7e 37:9362eb9e9e5b
197 }); 197 });
198 }, 198 },
199 filterable: true, 199 filterable: true,
200 filtermode: 'excel', 200 filtermode: 'excel',
201 columns: [ 201 columns: [
202 { text: 'Vergistbaar product', datafield: 'name', width: 270 }, 202 { text: 'Producent', datafield: 'supplier', width: 200 },
203 { text: 'Vergistbaar product', datafield: 'name' },
203 { text: 'Soort', datafield: 'type', align: 'center', cellsalign: 'center', width: 90 }, 204 { text: 'Soort', datafield: 'type', align: 'center', cellsalign: 'center', width: 90 },
204 { text: 'Mout type', datafield: 'graintype', align: 'center', cellsalign: 'center', width: 90 }, 205 { text: 'Mout type', datafield: 'graintype', align: 'center', cellsalign: 'center', width: 90 },
205 { text: 'Herkomst', datafield: 'origin', width: 150 }, 206 { text: 'Herkomst', datafield: 'origin', width: 150 },
206 { text: 'Producent', datafield: 'supplier', width: 200 },
207 { text: 'Kleur', datafield: 'color', width: 70, align: 'right', cellsalign: 'right' }, 207 { text: 'Kleur', datafield: 'color', width: 70, align: 'right', cellsalign: 'right' },
208 { text: 'Opbrengst', datafield: 'yield', width: 70, align: 'right', cellsalign: 'right', cellsformat: 'p1' }, 208 { text: 'Opbrengst', datafield: 'yield', width: 70, align: 'right', cellsalign: 'right', cellsformat: 'p1' },
209 { text: 'Vooraad', datafield: 'inventory', width: 100, align: 'right', cellsalign: 'right', cellsformat: 'f3' }, 209 { text: 'Vooraad', datafield: 'inventory', width: 100, align: 'right', cellsalign: 'right', cellsformat: 'f3' },
210 { text: 'Prijs', datafield: 'cost', width: 100, align: 'right', cellsalign: 'right', cellsformat: 'c2' }, 210 { text: 'Prijs', datafield: 'cost', width: 100, align: 'right', cellsalign: 'right', cellsformat: 'c2' },
211 { text: 'Wijzig', datafield: 'Edit', width: 120, align: 'center', columntype: 'button', cellsrenderer: function () { 211 { text: 'Wijzig', datafield: 'Edit', width: 120, align: 'center', columntype: 'button', cellsrenderer: function () {

mercurial