function(options) { options.defaultGridOptions = { columns: [{ ITYPE: { heading: "IType", width: 50, alignment: "start", headingAlignment: "start", canSort: true }, NAMED: { heading: "ItemName", width: 200, alignment: "start", headingAlignment: "start", canSort: true }, MNU_DESCRIPTION: { heading: "Section", width: 120, alignment: "start", headingAlignment: "start", canSort: true }, PUOM_COST: { heading: "Cost", width: 50, alignment: "end", headingAlignment: "end", canSort: true }, PUOMD: { heading: "PurchaseUnit", width: 70, alignment: "start", headingAlignment: "start", canSort: true }, SUOMD: { heading: "SalesUnit", width: 70, alignment: "start", headingAlignment: "start", canSort: true }, CONRATIO: { heading: "Conratio", width: 70, alignment: "end", headingAlignment: "end", canSort: true } }] }; return options; }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter