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

Insert Multiple Blank Rows

2 Answers 145 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Anjan Nimmana
Top achievements
Rank 1
Anjan Nimmana asked on 14 Dec 2010, 12:29 AM
Requirement:  GridView should display blank new row on load., once i typed any letter/number in the blank row first cell, another blank row should display in the grid. But the cursor should focus in the current row to enter the row data for all the remaining columns.

I tired to implement it, In GridView, Onload event i wrote BeginInsert() method to display blank row in the grid.  Cursor is focus on blank row first cell.
In KeyUp event, i wrote BeginInsert() method to display another blank row in the grid. It is displaying another new blank row but cursor is focus on 2 row first cell.

How i do reset the cursor focus to current (first) row current (first) cell to enter the first row data for all the remaining columns?







2 Answers, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 17 Dec 2010, 01:11 PM
Hi Anjan Nimmana,

Please find attached a possible solution.

Regards,
Veselin Vasilev
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
0
Anjan Nimmana
Top achievements
Rank 1
answered on 20 Dec 2010, 01:24 AM
Thank You. We are looking for the same.
Tags
GridView
Asked by
Anjan Nimmana
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Anjan Nimmana
Top achievements
Rank 1
Share this question
or