How to make RadgGrid Read Only

2 posts, 0 answers
  1. Venkatesh
    Venkatesh avatar
    21 posts
    Member since:
    Jul 2014

    Posted 22 Aug 2014 Link to this post

    Hi,

    How to make same telerik radgrid readonly and editable(Batch Edit mode with edit type as cell) in based on condition.

    Regards,
    Venkatesh.
  2. Eyup
    Admin
    Eyup avatar
    3005 posts

    Posted 27 Aug 2014 Link to this post

    Hi Venkatesh,

    To toggle the edit mode according to a condition, you can use:
    RadGrid1.MasterTableView.EditMode = condition ? GridEditMode.Batch : GridEditMode.InPlace;

    Hope this helps.

    As for individual cells, I believe the reply you got in the following thread would be helpful:
    http://www.telerik.com/forums/making-rad-grid-inidividual-cell-read-only-based-ona-condition

    Regards,
    Eyup
    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