Change Grid Button background color


is there a way to change Grid button background color upon click that button?


Do you mean the Grid control or the Button control? Which framework?


If you use button in grid look:

var buttonClick = false;

        var cellclass = function (row, columnfield, value) {
            if (row == 1) {
                if (buttonClick == true) {
                    return "green";