Operations on MVC Grid columns

4 posts, 0 answers
  1. Imran
    Imran avatar
    7 posts
    Member since:
    Jun 2015

    Posted 23 Jul 2015 Link to this post

    I've two columns in my Grid . on first column i want divide by 2 operation and on the second i want that if the value is greater than zero then a local variable value is green
  2. Viktor Tachev
    Admin
    Viktor Tachev avatar
    1488 posts

    Posted 24 Jul 2015 Link to this post

    Hello Imran,

    In order to customize the look of a row or cell in the grid based on a value you can use the approach illustrated in the following thread.


    Alternatively you can use templates and further customize the look and fell:



    Regards,
    Viktor Tachev
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Imran
    Imran avatar
    7 posts
    Member since:
    Jun 2015

    Posted 27 Jul 2015 in reply to Viktor Tachev Link to this post

    Hi viktor ,

    thanks for reply but i've to say that I got the reply after two and half day of my query & i'm afraid that it's not the answer  (It can be my fault so i modify my scenario)

    Lets think that i 've a number of rows in my MVC grid and i want to take value of a specific cell at some point let's say 3rd row , 1st col . how i'll make it possible

  5. Viktor Tachev
    Admin
    Viktor Tachev avatar
    1488 posts

    Posted 28 Jul 2015 Link to this post

    Hello,

    If you would like to get the value of a cell in the grid widget you can use the approach described in the following blog post:



    Regards,
    Viktor Tachev
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top
UI for ASP.NET MVC is VS 2017 Ready