Check CellValue when cell is loading and make it as readonly

3 posts, 0 answers
  1. Ramesh
    Ramesh avatar
    19 posts
    Member since:
    Mar 2013

    Posted 21 Mar 2013 Link to this post

    Hi Experts,

    I am creating an WPF application, in that i am adding new records from code behind. When the record is loading in grid, i need to check the cell value of a column and based on that cell value , i will make the next cell as ReadOnly/Editable.

    Ex:

    When record loading,

    If the 2nd column's cell value is <4 then i have to make 3rd column cell as ReadOnly cell.

    I have attached an image for your refrence, from that you can see based "CheckWeight" column the "Size" column will be as ReadOnly or Editable with Dropdown list.

    Please help me anybody by giving ideas like, how to check cell values while record is loading and make other cells as readonly cell

    Thanks in advance.
    Ramesh
    velusamyr@hcl.com
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 21 Mar 2013 Link to this post

    Hello Ramesh,

    I would suggest you to define a CellStyleSelector for the column.

    Kind regards,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Ramesh
    Ramesh avatar
    19 posts
    Member since:
    Mar 2013

    Posted 21 Mar 2013 Link to this post

    Hello,

    Thankyou for your quick response.
    Please give some ideas to Check the cellvalue and disable editing for other cells.

    Thanks,
    Ramesh
    velusamyr@hcl.com
Back to Top