Hi
we have requirement in project where in the iggrid will be populated with data, and when user click on any cell the datepicker pops up and user selects new date and new date will be updated in that cell. and finally we have save button, on click of save button the changes are moved to database.
can i dynamically add date picker to cell when users selects cell in iggird and later remove once new date is selected in date picker, will this cause any performace issue with around 20,000 rows ?
Hello Rakesh Acharya,
Thank you for posting in our forums!
I would recommend using a datepicker editor for the columns with dates. This will create igDatePickers in cells automatically when they enter edit mode.
Using this method, you can also handle the editCellStarting event to prevent users from editing the cells rather than removing the date picker entirely.
I have created this jsFiddle sample that demonstrates how you can achieve this here. In this sample, the igDatePicker appears when clicking in the ExpireDate column's cells. I also prevent the user from editing the ExpireDate if it is an even numbered row. You can change this condition to meet your requirements.
If you need further assistance with this, please let me know.