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

RadGridView add new item UI is not pupulating automatically

1 Answer 65 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Manoj
Top achievements
Rank 1
Manoj asked on 14 Jul 2016, 08:29 AM

Hi,

I am using RadGridview for CURD operation. I am using observable collection of custom class where I have data.

For oprtation I am using 2 column say update and delete to push data back to DB. With the property NewRowPosition, adding of new row is coming on top.

When I am adding new row and provided data to all cell and coming out from that row being added focus is going into existing row and new row is getting added in last of collection. that is OK.

My problem is when I have added a row the new row add label should be come but its not. and also I have observed that AddingNewDataItem is not firing as result all logic for the cell that I need to perform is not working. I have used celledittemplate in POC as well.

Please suggest how I can achieved this behavior as soon as possible.

 

--

Manoj S

 

 

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 18 Jul 2016, 04:05 PM
Hello Manoj,

Can you please clarify how the new items are added? If they are added programmatically, the reported behavior would be expected. The AddingNewItem event is raised only when an item is added through the UI. A possible solution might be to subscribe to the CollectionChanged event of the source collection and move the already implemented logic in it.

Additionally, you may find the Adding New Entries topic useful on the matter.

All the best,
Stefan X1
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
GridView
Asked by
Manoj
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or