| Module: | libext | Package: | wrap.ext.grid | Parent: | Object | Copyright (c) 2007, 2008 Point5U, LLC Milescript - ExtJS Wrapper Library: Project Home | Documentation |
wrap.ext.grid.ColumnModel
Inheritance : Object
Constructors
| Signature |
| public ColumnModel(ColumnModelConfig config) |
Methods
| Name | Signature |
| getCellEditor | Object getCellEditor(int colIndex, int rowIndex) |
| getColumnById | Object getColumnById(String id) |
| getColumnCount | int getColumnCount() |
| getColumnHeader | String getColumnHeader(int col) |
| getColumnId | String getColumnId(int index) |
| getColumnsBy | Array<ColumnModelConfig> getColumnsBy(Function fn) |
| getColumnsBy | Array<ColumnModelConfig> getColumnsBy(Function fn, Object scope) |
| getColumnTooltip | String getColumnTooltip(int col) |
| getColumnWidth | int getColumnWidth(int col) |
| getDataIndex | int getDataIndex(int col) |
| getIndexById | int getIndexById(String id) |
| getRenderer | Function getRenderer(int col) |
| getTotalWidth | int getTotalWidth(boolean includeHidden) |
| isCellEditable | boolean isCellEditable(int colIndex, int rowIndex) |
| isFixed | boolean isFixed() |
| isHidden | boolean isHidden(int colIndex) |
| isResizable | boolean isResizable() |
| isSortable | boolean isSortable(int col) |
| setColumnHeader | void setColumnHeader(int col, String header) |
| setColumnTooltip | void setColumnTooltip(int col, String tooltip) |
| setColumnWidth | void setColumnWidth(int col, int width) |
| setConfig | void setConfig(Array<ColumnModelConfig> config) |
| setDataIndex | void setDataIndex(int col, int dataIndex) |
| setEditable | void setEditable(int col, boolean editable) |
| setHidden | void setHidden(int colIndex, boolean hidden) |
| setRenderer | void setRenderer(int col, Function fn) |
Properties
| Name | Type | Comment | |
| defaultSortable |
| ||
| defaultWidth |
| ||
| setConfig |
|
Constructors
|
public ColumnModel(ColumnModelConfig config) Parameters
|
Methods
|
getCellEditor Object getCellEditor(int colIndex, int rowIndex)
Parameters
|
|||||||||||||
|
getColumnById Object getColumnById(String id)
Parameters
|
||||||||||
|
getColumnCount int getColumnCount()
|
||||
|
getColumnHeader String getColumnHeader(int col)
Parameters
|
||||||||||
|
getColumnId String getColumnId(int index)
Parameters
|
||||||||||
|
getColumnsBy Array<ColumnModelConfig> getColumnsBy(Function fn)
Parameters
|
||||||||||
|
getColumnsBy Array<ColumnModelConfig> getColumnsBy(Function fn, Object scope)
Parameters
|
|||||||||||||
|
getColumnTooltip String getColumnTooltip(int col)
Parameters
|
||||||||||
|
getColumnWidth int getColumnWidth(int col)
Parameters
|
||||||||||
|
getDataIndex int getDataIndex(int col)
Parameters
|
||||||||||
|
getIndexById int getIndexById(String id)
Parameters
|
||||||||||
|
getRenderer Function getRenderer(int col)
Parameters
|
||||||||||
|
getTotalWidth int getTotalWidth(boolean includeHidden)
Parameters
|
||||||||||
|
isCellEditable boolean isCellEditable(int colIndex, int rowIndex)
Parameters
|
|||||||||||||
|
isFixed boolean isFixed()
|
||||
|
isHidden boolean isHidden(int colIndex)
Parameters
|
||||||||||
|
isResizable boolean isResizable()
|
||||
|
isSortable boolean isSortable(int col)
Parameters
|
||||||||||
|
setColumnHeader void setColumnHeader(int col, String header) Parameters
|
|
setColumnTooltip void setColumnTooltip(int col, String tooltip) Parameters
|
|
setColumnWidth void setColumnWidth(int col, int width) Parameters
|
|
setConfig void setConfig(Array<ColumnModelConfig> config) Parameters
|
|
setDataIndex void setDataIndex(int col, int dataIndex) Parameters
|
|
setEditable void setEditable(int col, boolean editable) Parameters
|
|
setHidden void setHidden(int colIndex, boolean hidden) Parameters
|
|
setRenderer void setRenderer(int col, Function fn) Parameters
|
| Module: | libext | Package: | wrap.ext.grid | Parent: | Object | Copyright (c) 2007, 2008 Point5U, LLC Milescript - ExtJS Wrapper Library: Project Home | Documentation |