Trying to show a push button in a cell. The column does not have any underlying data. Button's purpose is to remove records.
Here is my code:
ListGrid:
Field:
Style:
Nothing is shown without data attached to the field. And just data is shown if it is attached.
Thanks
Here is my code:
ListGrid:
Code:
getBaseStyle: function (record, rowNum, colNum) {
if (colNum == 4)
return "groovybutton"
else
return this.baseStyle}
Code:
title: "DEL", type:"text"
Code:
input.groovybutton
{
font-size:10px;
font-family:Trebuchet MS,sans-serif;
font-weight:bold;
color:#FFFFFF;
height:19px;
background-color:#0077BB;
border-style:none;
}
Thanks
Comment