This is a migrated thread and some comments may be shown as answers.

Adding new on Tab

3 Answers 90 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Brandon
Top achievements
Rank 1
Brandon asked on 29 Aug 2008, 06:37 PM
I am not sure if I am missing something but it appears you can mark the StandardTabKey to false and have it tab between the columns like I want but it doesnt add new rows to the grid if its on the last cell of the last row. I was wondering if there was a propert to do thsi or if I have to change it to a standard tab key and use the Keydown even to implement both the features "manually"?

If that is the case and I am not missing something, I think it might be a good feature for future releases ;) . Thanks alot for any help!

Brandon

3 Answers, 1 is accepted

Sort by
0
Martin Vasilev
Telerik team
answered on 01 Sep 2008, 04:18 PM
Hi Brandon,

Thank you for writing.

Currently, you cannot turn off the default behavior of adding new records on tab press at the end of grid. We will consider adding such of functionality in some of the next release. Currently, you have to implement a custom logic to achieve this.

I have updated your Telerik points for bringing this to our attention.
 
All the best,
Martin Vasilev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Brandon
Top achievements
Rank 1
answered on 04 Sep 2008, 10:27 PM
I am not sure if you understoon my question.

I have a grid with StandardTabKey = false.

When I select tab to tab between columns it works fine, but i also want it to add a new row when its on the last column of the last row.

Currently this isnt working for me, and to get it to work i have to change the StandardTabKey = true and handle the keydown event for Tab. This also means i have to re-implement the tabbing between columns as well. This leads me into other issues with using beginedit, but i'll save that for future discussions :)

Thanks.

Brandon
0
Accepted
Martin Vasilev
Telerik team
answered on 05 Sep 2008, 11:15 AM
Hi Brandon,

Thank you for getting back to me and, please, excuse me for the misunderstanding.

RadGridView does not support the described functionality - adding a new row on pressing tab key when you are in the last cell of the last row.

Unfortunately, the only workaround is to handle the Tab event as you have described - we will be happy to assist you along the way, if you decide to go that route.

I have logged your request in our feature requests lists and we will consider adding this functionality in a future release.

If you have other questions, do not hesitate to contact me again.

 
Sincerely yours,
Martin Vasilev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
GridView
Asked by
Brandon
Top achievements
Rank 1
Answers by
Martin Vasilev
Telerik team
Brandon
Top achievements
Rank 1
Share this question
or