Wael Shazly
Top achievements
Rank 1
Wael Shazly
asked on 20 Aug 2019, 03:06 PM
i need when i add new row automatically the courser mouse go to the first column and first cell
5 Answers, 1 is accepted
0
Hello,
You can use the UserAddedRow event for this:
I hope this helps. Should you have any other questions, do not hesitate to ask.
Regards,
Dimitar
Progress Telerik
You can use the UserAddedRow event for this:
private
void
RadGridView1_UserAddedRow(
object
sender, GridViewRowEventArgs e)
{
radGridView1.CurrentColumn =radGridView1.Columns[0];
radGridView1.CurrentRow = radGridView1.Rows[0];
}
I hope this helps. Should you have any other questions, do not hesitate to ask.
Regards,
Dimitar
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.
0
Wael Shazly
Top achievements
Rank 1
answered on 21 Aug 2019, 09:31 AM
thanks for your replay i test it but it's not working still please check the attached files
0
Hello,
If you want to focus the new row you can use the following approach:
Let me know how this works for you.
Regards,
Dimitar
Progress Telerik
If you want to focus the new row you can use the following approach:
private
void
RadGridView1_UserAddedRow(
object
sender, GridViewRowEventArgs e)
{
radGridView1.CurrentColumn =radGridView1.Columns[0];
radGridView1.CurrentRow = radGridView1.MasterView.TableAddNewRow;
}
Let me know how this works for you.
Regards,
Dimitar
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.
0
Wael Shazly
Top achievements
Rank 1
answered on 21 Aug 2019, 10:27 AM
thanks again but still not working see the attached file
0
Hi,
This seems to work on my side (see attached video). I have attached my test project as well. Could you please check it and let me know what I need to change in order to reproduce the behavior on my side?
I am looking forward to your reply.
Regards,
Dimitar
Progress Telerik
This seems to work on my side (see attached video). I have attached my test project as well. Could you please check it and let me know what I need to change in order to reproduce the behavior on my side?
I am looking forward to your reply.
Regards,
Dimitar
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.