The little calendar could be activated/popup with hotkey F4 for GridViewDatetimeColumn and the calculator for GridViewCalculatorColumn. Is this hotkey changeable, said change to F2 to bring up these?
2 Answers, 1 is accepted
0
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 23 Jul 2019, 11:03 AM
Hello,
Indeed, by default, pressing F4 while RadCalculatorEditor is active, will show the popup calendar. In order to prevent this when pressing F4 and execute the same logic after F2 is pressed, you can refer to the following code snippet:
public RadForm1()
{
InitializeComponent();
GridViewCalculatorColumn column = new GridViewCalculatorColumn("Calculator column");
RadCalculatorEditor calcEditor = this.radGridView1.ActiveEditor as RadCalculatorEditor;
RadCalculatorEditorElement el = calcEditor.EditorElement as RadCalculatorEditorElement;
el.ShowPopup();
}
}
Feel free to use a similar approach for the date time column as well.
I hope this information helps.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.