Avatar of HawaiiDragon
HawaiiDragon
 asked on

Change value in a Datagrid

Okay I have a data grid and when it retrieves the value from the database its posting either (True or False) I want it to display (Yes or No). I am BRAND NEW TO JQery and JSON.  I love being GREEN NOT!
  @{
                    var ResultsGrid = new Grid
                    {
                        GridID = "results",
                        GridTitle = "Code Types Grid",
                        GridName = "AAACodeOutputs",
                        DataBind = "source:SomedataSource",
                        Columns = Grid.CreateColumns(
               
                         Grid.Column("Code Type", "CodeType", 500),
                         Grid.Column("Add Allowed", "UserCanAddFlag", 100)                  
                                               ),
                        Properties = new GridProperties()
                        {  
                            
                            Scrollable = true,
                            Groupable = false,
                            Sortable = true,
                            Selectable = true,
                            Autobind = false,
                            Pageable = true
                        },
                    };
                }            
                @ResultsGrid.GenerateGridHTML()

Open in new window

jQueryJavaScriptJScriptC#.NET Programming

Avatar of undefined
Last Comment
HawaiiDragon

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
HawaiiDragon

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy