Problems with RadGridView, RadDataPager and edit mode

11 posts, 0 answers
  1. Leonard
    Leonard avatar
    22 posts
    Member since:
    Jan 2013

    Posted 10 Oct 2014 Link to this post

    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.
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 13 Oct 2014 Link to this post

    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.

     
  3. DevCraft banner
  4. Leonard
    Leonard avatar
    22 posts
    Member since:
    Jan 2013

    Posted 14 Oct 2014 in reply to Dimitrina Link to this post

    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.
  5. Leonard
    Leonard avatar
    22 posts
    Member since:
    Jan 2013

    Posted 14 Oct 2014 in reply to Leonard Link to this post

    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.


  6. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 15 Oct 2014 Link to this post

    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.

     
  7. Leonard
    Leonard avatar
    22 posts
    Member since:
    Jan 2013

    Posted 15 Oct 2014 in reply to Dimitrina Link to this post

    Sorry Dimitrina, you are right.

    I'm still with the problem, I will test with your link.
    Thank you.
  8. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 16 Oct 2014 Link to this post

    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.

     
  9. Leonard
    Leonard avatar
    22 posts
    Member since:
    Jan 2013

    Posted 16 Oct 2014 in reply to Dimitrina Link to this post

    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.


  10. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 16 Oct 2014 Link to this post

    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.

     
  11. Leonard
    Leonard avatar
    22 posts
    Member since:
    Jan 2013

    Posted 16 Oct 2014 in reply to Dimitrina Link to this post

    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.
  12. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 17 Oct 2014 Link to this post

    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.

     
Back to Top
DevCraft banner