Selects the specified columns.
public void setSelectedColumns( Column[] columns )
columns
An array of Column objects that identify the columns to be selected.
Calling setSelectedColumns clears any previous selection in the grid. Note that you cannot select both columns and rows at the same time. To programmatically select rows, call setSelectedRows.
The DataGrid control does not support the selection of single cells.
See Also getSelectedColumns, clearSelection