SMART datagrid v.1 > Classes > GridBase
Return the last ValueColumn object among the columns of Being Displayed in grid. If visibleColumnCount is 0, it will return null. Please refer to Last Column property of ColumnGroup.
var column = grid.getLastColumn();
if (column) {
column.setVisible(false);
}