Link to home
Start Free TrialLog in
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

ASKER CERTIFIED SOLUTION
Avatar of HawaiiDragon
HawaiiDragon

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial