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

[Solved] AddingNewDataItem / RowsDetailsTemplate

3 Answers 88 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.
codeputer
Top achievements
Rank 2
codeputer asked on 17 Sep 2010, 06:37 PM
I can't seem to find a definative answer on this .... When inserting a row in a RadGridView - can you customize the layout of that row?  My RowDetailsTemplate works fine during editing, but the "Add Row" (first row under the column headers) is not expanding and showing the fields as it does during Edit mode.

R

P.S. This is an aside that really drove me crazy - why does the Canvas control behave badly in a RowsDetailTemplate? 

3 Answers, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 20 Sep 2010, 08:01 AM
Hello codputer,

This forum thread should help on achieving the goal you want. There is an attached project as well.

Can you please describe in more detail what is the problem with the Canvas in the RowDetailsTemplate?


All the best,
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
codeputer
Top achievements
Rank 2
answered on 20 Sep 2010, 04:36 PM
I had a Canvas control within the RowTemplate.  Whent the row "expanded" the row visualized under the last row of the grid, and stayed there.  Clicking on other rows (which activated other fields), were then displayed on the previously displayed template - all row details, regardless of the row, displayed under the last row of the grid.  It was very weird - when I have sometime, I will see if I can recreate it with a small sample project..

R
0
codeputer
Top achievements
Rank 2
answered on 20 Sep 2010, 04:44 PM
P.S. Thanks for the link to the thread on AddNewRow - I suspected as much after working on it for awhile.  I left a comment on that thread for a switch that would pick the "ColumnView" or the RowTemplate when an Add event occurs...

Regards,
R
Tags
GridView
Asked by
codeputer
Top achievements
Rank 2
Answers by
Veselin Vasilev
Telerik team
codeputer
Top achievements
Rank 2
Share this question
or