Updating Pikaday Config

Hello everyone!

I have a custom renderer cell. At the end of its method, I use the method Handsontable.DateCell.renderer.apply(this, arguments);

I would like to know how to updating the Pikaday datePickerConfig param:

This is an example of the code:

function departureDateRender(instance, td, row, col, prop, value, cellProperties) {
$(instance.getCell(row, col)).css({‘background’: ‘#ff4c42’});
Handsontable.DateCell.renderer.apply(this, arguments);
}

Thanks

I have solved it, I’m using PHP to output Handsontable configuration via AJAX …

I added the parameter datePickerConfig in the renderer column configuration and now I can access to it in Javascript using cellProperties.datePickerConfig.

Thanks

Sorry for a late response. Glad you solved the case.