lundi 5 octobre 2015

KendoUI grid if field is true/false change title

so I have a boolean isActive that returns TRUE or FALSE

           {
                field: "isActive",
                title: "Status",
                width: 90

            }

I've managed to make this work and in the grid it will show 'true' or 'false'. However I want to make it if its true , change field to A and if false change title to B. How can I do this?

Aucun commentaire:

Enregistrer un commentaire