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

Operations on MVC Grid columns

3 Answers 159 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Imran
Top achievements
Rank 1
Imran asked on 23 Jul 2015, 06:25 AM
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

3 Answers, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 24 Jul 2015, 06:52 AM
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
0
Imran
Top achievements
Rank 1
answered on 27 Jul 2015, 06:16 AM

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

0
Viktor Tachev
Telerik team
answered on 28 Jul 2015, 11:33 AM
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
Tags
Grid
Asked by
Imran
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Imran
Top achievements
Rank 1
Share this question
or