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

[Solved] Add new blank rows to DataGrid

3 Answers 192 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
JungTae
Top achievements
Rank 1
JungTae asked on 05 Oct 2010, 06:57 PM
I am currently using Telerik's RadGridView to display my data. I want to add empty row without details and enter details from ui and save the information in the existing ObservableCollection which the radGridView is binded to. I am currently implementing this by setting the ShowInsertRow property to be true. The problem is, I do not want to make the original data editable, and I want to add combobox menu for one of the columns. What would be the best way tp resolve this issue? Please contact me for clarification if it is needed

3 Answers, 1 is accepted

Sort by
0
Accepted
Veselin Vasilev
Telerik team
answered on 06 Oct 2010, 11:55 AM
Hi JungTae,

Probably this forum thread will help.

Also, this demo shows that when you insert a new row - the combobox is shown in the column.

Sincerely yours,
Veselin Vasilev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
JungTae
Top achievements
Rank 1
answered on 06 Oct 2010, 02:44 PM
Thanks for your reply, however, I am still having trouble disabling the edit option for the existing rows of data, is there a support or a workaround for such a feature?
0
Veselin Vasilev
Telerik team
answered on 11 Oct 2010, 09:14 AM
Hi JungTae,

You can cancel the BeginningEdit event to not allow editing of the existing data.

Greetings,
Veselin Vasilev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
JungTae
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
JungTae
Top achievements
Rank 1
Share this question
or