How to adjust datepicker view inside ag grid cell render template?

后端 未结 2 877
眼角桃花
眼角桃花 2021-01-27 19:26

I use cell rendering in my ag-grid for editing a date field.Inside that cell datePicker is added as shown

view of my cell

But when i am clicking the date icon da

2条回答
  •  一生所求
    2021-01-27 20:00

    Two things...

    First, if you are really using a date picker in a cell renderer, don't. That should be done in a cell editor, not a renderer.

    Second, if you want to have an editor that is not constrained by the cell, you have to specify that the editor is a 'popup' editor by implementing isPopup() in your editor, and returning true.

    The documentation for this is at https://www.ag-grid.com/javascript-grid-cell-editing/#popup

提交回复
热议问题