This question is locked. New answers and comments are not allowed.
Hi,
I'd like to format the value of a given cell according to the value of another cell (from another column).
Example:
I have a grid with 2 columns: "Type" and "Value".
If the value of "Type" cell (given row) is "Percent" then the format of the "Value" cell must be percent (same row).
If the value of "Type" cell is "Currency" then the format of the "Value" cell must bem currency.
So I first need to check the column name and then verify that the contents of the cell is "Percent" or "Currency"
I do not know if it makes a difference, but this grid is a tabstrip
I tried using the example of the link "Custom Formatting" from the Telerik site (http://demos.telerik.com/aspnet-mvc/grid/customformatting), but did not work.
Could you help me please?
Thx.
I'd like to format the value of a given cell according to the value of another cell (from another column).
Example:
I have a grid with 2 columns: "Type" and "Value".
If the value of "Type" cell (given row) is "Percent" then the format of the "Value" cell must be percent (same row).
If the value of "Type" cell is "Currency" then the format of the "Value" cell must bem currency.
So I first need to check the column name and then verify that the contents of the cell is "Percent" or "Currency"
I do not know if it makes a difference, but this grid is a tabstrip
I tried using the example of the link "Custom Formatting" from the Telerik site (http://demos.telerik.com/aspnet-mvc/grid/customformatting), but did not work.
Could you help me please?
Thx.