/* Template Name: webadmin - Admin & Dashboard Template Author: Themesdesign Website: https://Themesdesign.com/ Contact: Themesdesign@gmail.com File: Ecommerce customers Js File */ // Basic Table new gridjs.Grid({ columns: [ { name: '#', sort: { enabled: false }, formatter: (function (cell) { return gridjs.html('
'); }) }, { name: 'Username', formatter: (function (cell) { return gridjs.html(''+ cell[0] +'
'+ cell[1] +'
'); }) }, , "Address", { name: "Rating", formatter: (function (cell) { return gridjs.html('' + cell +''); }) }, "Wallet Balance", "Joining Date", { name: "Action", sort: { enabled: false }, formatter: (function (cell) { return gridjs.html(''); }) } ], pagination: { limit: 6 }, sort: true, search: true, data: [ ["", ["avatar-1.jpg","Stephen Rash"], ["325-250-1106", "StephenRash@teleworm.us"], "2470 Grove Street Bethpage, NY 11714", "4.2", "$5,412", "07 Oct, 2021" ], ["", ["avatar-2.jpg","Juan Mays"], ["443-523-4726", "JuanMays@armyspy.com"], "3755 Harron Drive Salisbury, MD 21875", "4.3", "$5,632", "06 Oct, 2021"], ["", ["avatar-3.jpg","Scott Henry"], ["704-629-9535", "ScottHenry@jourrapide.com"], "3632 Snyder Avenue Bessemer City, NC 28016", "4.1", "$7,523", "06 Oct, 2021"], ["", ["avatar-4.jpg","Cody Menendez"], ["701-832-5838", "CodyMenendez@armyspy.com"], "4401 Findley Avenue Minot, ND 58701", "4.0", "$6,325", "05 Oct, 2021"], ["", ["avatar-5.jpg","Jason Merino"], ["706-219-4095", "JasonMerino@dayrep.com"], "3159 Holly Street Cleveland, GA 30528", "4.2", "$4,523", "04 Oct, 2021" ], ["", ["avatar-6.jpg","Kyle Aquino"], ["415-232-5443", "KyleAquino@teleworm.us"], "4861 Delaware Avenue San Francisco, CA 94143", "4.1", "$5,412", "03 Oct, 2021"], ["", ["avatar-7.jpg","David Gaul"], ["314-483-4679", "DavidGaul@teleworm.us"], "1207 Cottrill Lane Stlouis, MO 63101", "4.4", "$5,412", "02 Oct, 2021"], ["", ["avatar-8.jpg","John McCray"], ["253-661-7551", "JohnMcCray@armyspy.com"], "3309 Horizon Circle Tacoma, WA 98423", "3.2", "$5,287", "02 Oct, 2021"], ["", ["avatar-1.jpg","John Fane"], ["325-250-1106", "StephenRash@teleworm.us"], "2470 Grove Street Bethpage, NY 11714", "4.2", "$5,412", "07 Oct, 2021" ], ["", ["avatar-2.jpg","Stacie Parker"], ["443-523-4726", "JuanMays@armyspy.com"], "3755 Harron Drive Salisbury, MD 21875", "4.3", "$5,632", "06 Oct, 2021"], ["", ["avatar-3.jpg","Betty Wilson"], ["704-629-9535", "ScottHenry@jourrapide.com"], "3632 Snyder Avenue Bessemer City, NC 28016", "4.1", "$7,523", "06 Oct, 2021"], ["", ["avatar-4.jpg","Roman Crabtree"], ["701-832-5838", "CodyMenendez@armyspy.com"], "4401 Findley Avenue Minot, ND 58701", "4.0", "$6,325", "05 Oct, 2021"], ["", ["avatar-5.jpg","Marisela Butler"], ["706-219-4095", "JasonMerino@dayrep.com"], "3159 Holly Street Cleveland, GA 30528", "4.2", "$4,523", "04 Oct, 2021" ], ["", ["avatar-6.jpg","Roger Slayton"], ["415-232-5443", "KyleAquino@teleworm.us"], "4861 Delaware Avenue San Francisco, CA 94143", "4.1", "$5,412", "03 Oct, 2021"], ["", ["avatar-7.jpg","Barbara Torres"], ["314-483-4679", "DavidGaul@teleworm.us"], "1207 Cottrill Lane Stlouis, MO 63101", "4.4", "$5,412", "02 Oct, 2021"], ["", ["avatar-8.jpg","Daniel Rigney"], ["253-661-7551", "JohnMcCray@armyspy.com"], "3309 Horizon Circle Tacoma, WA 98423", "3.2", "$5,287", "02 Oct, 2021"], ] }).render(document.getElementById("table-ecommerce-customers")); flatpickr('#customers-date', { defaultDate: new Date(), dateFormat: "d M, Y", });