How do I highlight holiday dates that i have in an array ?
I see the example for angular, but how would I do this for javascript?
Thank you
I figured it out...
dp.onBeforeCellRender = function(args) { var cellDate = moment(args.cell.start.value).format("YYYY-MM-DD"); if (jQuery.inArray(cellDate, holidayArr) !== -1) { args.cell.backColor = "#FF0000"; } };
Thanks for posting the solution, Chris!