is there a way to show a checkbox cell also when the user add a new row in a Virtual Grid?
The screenshot are taken from your code example, I only changed AllowAddNewRow to true.
Also, is there a way to set default values like the DefaultValueNeeded event of RadGridView?
Thank you!
1 Answer, 1 is accepted
1
Nadya | Tech Support Engineer
Telerik team
answered on 31 May 2024, 01:15 PM
Hello, Emanuele,
By default, when a new row functionality is enabled (AllowAddNewRow=true), the cell uses a VirtualGridTextBoxEditor. If you wan to show a checkbox you should consider creating a custom VirtualGridNewCellElement and adding a check box into it. The following article about creating custom cells will be quite useful on this topic: Creating custom cells - RadVirtualGrid - Telerik UI for WinForms
Currently, RadVirtualGrid does not offer a DefaultValueNeeded event for filling the cells in the new row with default values.
Please let me know if you have any other questions.
Regards,
Nadya | Tech Support Engineer
Progress Telerik