SMART datagrid v1.4 > Classes
DataLudi.GridView class
GridBase를 계승한 그리드뷰 구현체이다. 트리뷰의 구현체는 TreeView이다. 그리드뷰는 GridDataSet에 연결할 수 있고, 행 그룹핑을 할 수 있다.
이 클래스 객체를 직접 생성할 일은 없다. GridComponent 초기화 시에 내부적으로 생성되고, GridComponent.gridView로 접근할 수 있다.
- Base Classes
- GridBase
- Constructor
- function GridView (dom: Boolean, containerId: String, readMode: Boolean);
- Properties
- hiddenRowCount
- mergedRowGrouped
- pageCount
- paged
- pageIndex
- pageOffset
- pageRows
- pageSize
- rowGrouped
- rowGroupFields
- rowGroupLevels
- Inherited Properties
- GridBase.autoFill
- GridBase.body
- GridBase.checkBar
- GridBase.columnCount
- GridBase.columnLayout
- GridBase.columnLayouts
- GridBase.columns
- GridBase.dataCellRenderers
- GridBase.dataRowCount
- GridBase.dataSource
- GridBase.defaultStyles
- GridBase.descendantDataCount
- GridBase.descendantRowCount
- GridBase.displayOptions
- GridBase.displayRowCount
- GridBase.editOptions
- GridBase.filtered
- GridBase.focusedColumn
- GridBase.focusedDataIndex
- GridBase.focusedDataRow
- GridBase.focusedIndex
- GridBase.focusedRow
- GridBase.focusedRowIndex
- GridBase.footer
- GridBase.fullDisplayRowCount
- GridBase.groupPanel
- GridBase.header
- GridBase.hscrollBar
- GridBase.isEmpty
- GridBase.leftCol
- GridBase.leftPos
- GridBase.lookupProvider
- GridBase.maxRowCount
- GridBase.operateOptions
- GridBase.readMode
- GridBase.rowCount
- GridBase.rowFilter
- GridBase.rowGroup
- GridBase.rowIndicator
- GridBase.rowSource
- GridBase.scrollEdgeStyles
- GridBase.sorted
- GridBase.styleManager
- GridBase.styles
- GridBase.summaryMode
- GridBase.topIndex
- GridBase.undoable
- GridBase.visibleColumnCount
- GridBase.vscrollBar
- Methods
- addGroupBy
- clearGroupBy
- collapse
- collapseAll
- expand
- expandAll
- getDataIndicesOfRows
- getHiddenRows
- getRowsOfDataIndices
- groupBy
- isGrouped
- isHidden
- removeGroupBy
- setHidden
- setHiddenRows
- setPageAndOffset
- setPageAndRows
- setPaging
- unhideAllRows
- Inherited Methods
- GridBase.addLookupSource
- GridBase.append
- GridBase.beginUpdate
- GridBase.cancel
- GridBase.cancelEditor
- GridBase.canRedo
- GridBase.canUndo
- GridBase.checkAll
- GridBase.checkRows
- GridBase.clearCellStyles
- GridBase.clearColumnStyles
- GridBase.clearColumnTags
- GridBase.clearLookupData
- GridBase.clearRowHeights
- GridBase.clearSelection
- GridBase.clearStyles
- GridBase.clearUndo
- GridBase.closeFilterSelector
- GridBase.closeProgress
- GridBase.columnByField
- GridBase.columnByName
- GridBase.columnByTag
- GridBase.columnsByField
- GridBase.columnsByTag
- GridBase.commit
- GridBase.commitEditor
- GridBase.commitOrCancel
- GridBase.createColumn
- GridBase.createColumns
- GridBase.ctor
- GridBase.deleteCheckedRows
- GridBase.deleteRows
- GridBase.deleteSelection
- GridBase.edit
- GridBase.endUpdate
- GridBase.eraseSelection
- GridBase.excludeColumn
- GridBase.existsCellStyle
- GridBase.existsLookupData
- GridBase.fillEditSearchItems
- GridBase.fillLookupRows
- GridBase.fillLookupValues
- GridBase.fitColumnWidth
- GridBase.fitRowHeight
- GridBase.generateColumns
- GridBase.getAllRows
- GridBase.getCellIndex
- GridBase.getCellStyle
- GridBase.getCellStyleId
- GridBase.getCellValue
- GridBase.getCheckedDataIndices
- GridBase.getCheckedRowIndices
- GridBase.getCheckedRows
- GridBase.getColumn
- GridBase.getColumnNames
- GridBase.getDataCellRect
- GridBase.getDataColumns
- GridBase.getEditingRow
- GridBase.getFieldValues
- GridBase.getFirstCell
- GridBase.getFirstColumn
- GridBase.getGroupLevel
- GridBase.getGroupLevels
- GridBase.getHiddenColumns
- GridBase.getLastColumn
- GridBase.getLeafColumns
- GridBase.getLeafRows
- GridBase.getPopupMenu
- GridBase.getRow
- GridBase.getRowHeight
- GridBase.getRowIndexOfDataIndex
- GridBase.getRowIndices
- GridBase.getRowIndicesOfDataIndices
- GridBase.getRowOfDataIndex
- GridBase.getRows
- GridBase.getSelectedDataIndices
- GridBase.getSelectedRowIndices
- GridBase.getSelectedRows
- GridBase.getSelection
- GridBase.getSortCases
- GridBase.getSortDirections
- GridBase.getSortFieldCount
- GridBase.getSortFields
- GridBase.getSummary
- GridBase.getTopRows
- GridBase.getUnCheckedDataIndices
- GridBase.getUnCheckedRowIndices
- GridBase.getUnCheckedRows
- GridBase.getValueAt
- GridBase.getValueColumns
- GridBase.getVisibleColumn
- GridBase.getVisibleColumns
- GridBase.hideEditor
- GridBase.hideToast
- GridBase.initializeReuse
- GridBase.insert
- GridBase.invalidate
- GridBase.invalidateLayout
- GridBase.isAllChecked
- GridBase.isCheckable
- GridBase.isChecked
- GridBase.isDeletedRow
- GridBase.isEditing
- GridBase.isGroupedColumn
- GridBase.isRowEditing
- GridBase.isValidCell
- GridBase.isValidColumn
- GridBase.isValidRow
- GridBase.linearizeColumns
- GridBase.loadPalettes
- GridBase.loadStyles
- GridBase.makeCellVisible
- GridBase.makeColumnVisible
- GridBase.makeRowVisible
- GridBase.orderBy
- GridBase.orderByFields
- GridBase.pointToIndex
- GridBase.redo
- GridBase.refreshView
- GridBase.registerCellEditors
- GridBase.registerCellRenderers
- GridBase.registerCellStyle
- GridBase.registerCellStyles
- GridBase.registerColumnLayouts
- GridBase.registerColumnStyles
- GridBase.registerFillPalette
- GridBase.registerImageList
- GridBase.registerPopupMenu
- GridBase.registerStrokePalette
- GridBase.removeLookupSource
- GridBase.resetGrid
- GridBase.resetSize
- GridBase.restoreColumns
- GridBase.revealRow
- GridBase.revertSelection
- GridBase.saveColumnLayout
- GridBase.searchCell
- GridBase.searchRow
- GridBase.selectColumnFilters
- GridBase.setAllChecked
- GridBase.setCellStyle
- GridBase.setCellStyleRows
- GridBase.setCellStyles
- GridBase.setCellValue
- GridBase.setCheckable
- GridBase.setChecked
- GridBase.setColumnsProperty
- GridBase.setColumnsVisible
- GridBase.setContextMenu
- GridBase.setCursor
- GridBase.setDefaultContextMenu
- GridBase.setFocusedCell
- GridBase.setFocusedColumn
- GridBase.setFocusedIndex
- GridBase.setFocusedRow
- GridBase.setOptions
- GridBase.setProgress
- GridBase.setRowHeight
- GridBase.setRowHeights
- GridBase.setSelection
- GridBase.setValueAt
- GridBase.showEditor
- GridBase.showProgress
- GridBase.showToast
- GridBase.sortColumn
- GridBase.sortColumnWithStyle
- GridBase.toggleChecked
- GridBase.undo
- GridBase.unregisterAllCellStyle
- GridBase.unregisterCellEditors
- GridBase.unregisterCellRenderers
- GridBase.unregisterCellStyle
- GridBase.unregisterCellStyles
- GridBase.unregisterColumnStyles
- GridBase.unregisterImageList
- GridBase.unregisterPalette
- GridBase.unregisterPopupMenu
- GridBase.unsortColumn
- GridBase.unsortColumnWithStyle
- GridBase.update
- GridBase.updateNow
- GridBase.visitAllColumns
- GridBase.visitColumns
- GridBase.visitRows
- Events
- onCollapsed
- onCollapsing
- onExpanded
- onExpanding
- onGrouped
- onGrouping
- onPageCountChanged
- onPaged
- onPageIndexChanged
- onPageIndexChanging
- onRowGroupFooterCellClicked
- onRowGroupFooterCellDblClicked
- onRowGroupHeadCellClicked
- onRowGroupHeadCellDblClicked
- onRowGroupHeaderClicked
- onRowGroupHeaderDblClicked
- Inherited Events
- GridBase.onAllCheck
- GridBase.onAllChecked
- GridBase.onAutoFilled
- GridBase.onCellButtonClicked
- GridBase.onCheckBarHeadClicked
- GridBase.onCheckBarHeadDblClicked
- GridBase.onCheckCellClicked
- GridBase.onCheckCellDblClicked
- GridBase.onCheckedChanged
- GridBase.onClickableCellClicked
- GridBase.onColumnChecked
- GridBase.onColumnHeaderClicked
- GridBase.onColumnHeaderDblClicked
- GridBase.onColumnMoved
- GridBase.onColumnParentChanged
- GridBase.onColumnResized
- GridBase.onColumnResizing
- GridBase.onColumnVisibleChanged
- GridBase.onContextMenuClicked
- GridBase.onContextMenuPopup
- GridBase.onCopy
- GridBase.onCurrentChanged
- GridBase.onCurrentChanging
- GridBase.onCurrentRowChanged
- GridBase.onDataButtonClicked
- GridBase.onDataCellClick
- GridBase.onDataCellClicked
- GridBase.onDataCellDblClicked
- GridBase.onDeleting
- GridBase.onDescendantDataCountChanged
- GridBase.onDescendantRowCountChanged
- GridBase.onDisplayRowCountChanged
- GridBase.onEditCanceled
- GridBase.onEditCellUpdated
- GridBase.onEditChanged
- GridBase.onEditCommitted
- GridBase.onEditorButtonClicked
- GridBase.onEditRowCanceled
- GridBase.onEditRowCommitted
- GridBase.onEditRowPasted
- GridBase.onEditSearch
- GridBase.onErrorClicked
- GridBase.onExcludeColumn
- GridBase.onFiltered
- GridBase.onFiltering
- GridBase.onFooterCellClicked
- GridBase.onFooterCellDblClicked
- GridBase.onFooterHeadClicked
- GridBase.onFooterHeadDblClicked
- GridBase.onHeaderHeadClicked
- GridBase.onHeaderHeadDblClicked
- GridBase.onHeaderSummaryCellClicked
- GridBase.onHeaderSummaryCellDblClicked
- GridBase.onHeaderSummaryHeadClicked
- GridBase.onHeaderSummaryHeadDblClicked
- GridBase.onInserting
- GridBase.onInsertStarted
- GridBase.onKeyDown
- GridBase.onLeftPosChanged
- GridBase.onPaste
- GridBase.onPasted
- GridBase.onPopupMenuClicked
- GridBase.onPopupMenuPopup
- GridBase.onRowChecked
- GridBase.onRowCountChanged
- GridBase.onRowIndicatorCellClick
- GridBase.onRowIndicatorCellClicked
- GridBase.onRowIndicatorCellDblClicked
- GridBase.onRowResized
- GridBase.onRowResizing
- GridBase.onRowsChecked
- GridBase.onScrollToBottom
- GridBase.onScrollToTop
- GridBase.onSelectionChanged
- GridBase.onSelectionCleared
- GridBase.onSelectionEnded
- GridBase.onSelectionResized
- GridBase.onShowEditor
- GridBase.onSorted
- GridBase.onSorting
- GridBase.onStateCellClicked
- GridBase.onStateCellDblClicked
- GridBase.onTopIndexChanged
- GridBase.onUndoStateChanged
- GridBase.onUpdateStarted
- GridBase.onUpdating
- GridBase.onValidateCell
- GridBase.onValidateRow
Code -1
var grid = new DataLudi.GridComponent(null, 'containerId').gridView();
// 혹은, 간략해진 함수로
var grid = DataLudi.createGridView('containerId');
Code -2
var columns = [...];
var grid = new DataLudi.GridComponent(null, 'containerId', columns).gridView();
// 혹은, 간략해진 함수로
var grid = DataLudi.createGridView('containerId', columns);
- See Also
- GridComponent.gridView
- createGridView
- RowGroup
- operateOptions
- Examples
- 그리드 시작하기