2 Answers, 1 is accepted
Hello, Atfat,
Your question has already been answered in the other thread you have opened on the same topic. Please, see our answer there for more information.
We kindly ask you to use just one thread for a specific problem to contact us. Posting the same questions numerous times slows down our response time because we will need to review and address two or more tickets instead of one. Moreover, threads are handled according to license and time of posting, so if it is an urgent problem, we suggest you use a support ticket, which would be handled before a forum thread.
Thank you for your understanding.
Regards,
Nadya
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
i khow this but It is not working...
Hello, Atfat,
Could you please specify what is not working for you and provide more information about which is the exact behavior that you want to achieve by pressing the Enter key in RadVirtualGrid. In order to provide a working solution for you, it is necessary first to understand what are the exact custom requirements that you have.
I am looking forward to your reply.
First of all thank you very much for your interesting...
My problem...
when I use the add new row (line) to add a new record ; if i press the
Enter key the cursor switch to the next column correctly except at the last column the cursor switch to the headtitle of the first column instead of switching to the second row and the new record entered is not added to the virtual grid...
please tell me what is i have to do ? and how i can upload my small app to see the problem !!
thanks in advanced...
Hello, Atfat,
If I understand you correctly, you would like to keep the default behavior when the Enter key is pressed and switch to the next column as in the Tab key behavior. I would suggest you to set the EnterKeyMode to EnterMovesToNextCell.
this.radVirtualGrid1.EnterKeyMode = RadVirtualGridEnterKeyMode.EnterMovesToNextCell;
However, if this doesn't fulfill your requirements note that RadVirtualGrid uses VirtualGridInputBehavior for handling user input behavior. You can implement a desired custom input behavior by changing the default row functionality or supplement the existing one. More information and example are available here: https://docs.telerik.com/devtools/winforms/controls/virtualgrid/handling-user-input/input-behavior. Thus, you can create a custom VirtualGridInputBehavior and override the HandleEnterKey method to implement the desired behavior.
I hope this information helps. In case you have any further difficulties please let me know.
Regards,
Nadya
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.