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

Problems with RadGridView, RadDataPager and edit mode

10 Answers 64 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Leonard
Top achievements
Rank 1
Leonard asked on 10 Oct 2014, 08:39 PM
Good afternoon,

I have a RadGridView with a RadDataPager, also I have a column that is editable.
When I click on a cell and the row is selected, this cell is in edit mode but when I click another row the previous rows lost the focus and I need to do click again on cell for cell edit mode.

Thanks.

10 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 13 Oct 2014, 12:34 PM
Hello,

This is indeed correct and the cell will lose its state in edit mode once the focus is lost as the user clicks outside the edited cell. When you click on another cell/row on the grid, this cannot be stopped, however, you can define the editor to be directly displayed in view mode through specifying a proper CellTemplate.You can also check the following article in our online documentation suggesting how to do so: Setting CellTemplate and CellEditTemplate. 

On the other hand when you click outside of RadGridView, you can then suppress the commit, configuring RadGridView with ActionOnLostFocus="None".

Regards,
Dimitrina
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Leonard
Top achievements
Rank 1
answered on 14 Oct 2014, 01:25 PM
Thanks Dimitrina, but I was trying but doesn't work.

The view have a radgridview, when I close and reopen it then work fine.

I don't know what happened.
0
Leonard
Top achievements
Rank 1
answered on 14 Oct 2014, 02:50 PM
The radgridview is the following:

            <telerik:RadGridView x:Name="grdDocument" 
                                 ItemsSource="{Binding Path=PvcDocuments, Mode=TwoWay}" .......

and PvcDocuments is 
         
            public PagedCollectionView PvcCodingDocuments

When change the type 

            public List<DocumentDTO> PvcCodingDocuments

works fine.


0
Dimitrina
Telerik team
answered on 15 Oct 2014, 09:21 AM
Hello,

It seems you have resolved the issue now. You can also check the online documentation on RadDataPager as a reference on how to configure RadGridView and RadDataPager to be working together.

Regards,
Dimitrina
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Leonard
Top achievements
Rank 1
answered on 15 Oct 2014, 07:04 PM
Sorry Dimitrina, you are right.

I'm still with the problem, I will test with your link.
Thank you.
0
Dimitrina
Telerik team
answered on 16 Oct 2014, 09:24 AM
Hello,

Let me know if there is still something not clear.

Regards,
Dimitrina
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Leonard
Top achievements
Rank 1
answered on 16 Oct 2014, 11:26 AM
Good morning, yesterday I was testing with the link and I'm still with the problema.

The problem is fixed when I change the data type :

public PagedCollectionView PvcDocuments

for another one

public List<Documents> PvcDocuments.

But I need the data type PagedCollectionView .

Thanks.


0
Dimitrina
Telerik team
answered on 16 Oct 2014, 12:13 PM
Hi,

May I ask you to isolate the issue in a demo project and send it to us in a support ticket? You can also take a look at this blog post for a reference on how to isolate an issue. That way we can check it locally and advise further.

Regards,
Dimitrina
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Leonard
Top achievements
Rank 1
answered on 16 Oct 2014, 08:47 PM
Hi Dimitrina again, I try to arm the demo project but work fine !!!!

I search and find the following, and I think that is the same problem.

http://www.telerik.com/forums/alternationcount-problem-in-2011-1-419

Thanks.
0
Dimitrina
Telerik team
answered on 17 Oct 2014, 11:47 AM
Hi,

I hope your problem is now solved. If not, would you please open a support ticket and share more details on the exact issue there?

Regards,
Dimitrina
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Leonard
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Leonard
Top achievements
Rank 1
Share this question
or