SMART datagrid v.1 > Classes > DataColumn
The way to display the button when it is contained in the editor which edits these column cells.
It specifies by ButtonVisibility constant.
Defaults to ButtonVisibility.DEFAULT.
grid.setColumns([{
name: "colGender",
fieldName: "gender",
editorButtonVisibility: DataLudi.ButtonVisibility.ALWAYS, // Always display the button
editor: {
type: "list"
...
}
},
...
];