SMART datagrid v1.4 > Classes

Back  Forward

DataLudi.TreeDataSet  classno-lite

트리뷰가 사용하는 모든 데이터를 브라우저 메모리에 저장하고 관리하는 데이터셋이다. 

트리뷰는 이 데이터셋의 값들을 표시하고, 추가, 수정, 삭제 등 데이터셋의 변경은 즉시 트리뷰에 반영된다. 또, 트리뷰를 통해 사용자가 입력한 데이터는 Validation 등 절차를 거쳐 이 데이터셋에 반영된다. 

Base Classes
DataSet > EventAware > DLBase
Constructor
function TreeDataSet (fields: Array, derivedFields: Array);
Inherited Properties
DataSet.amText
DataSet.baseYear
DataSet.booleanFormat
DataSet.checkStates
DataSet.dataInited
DataSet.datetimeFormat
DataSet.deleteCreated
DataSet.deletedCount
DataSet.eventsOnStack
DataSet.fieldCount
DataSet.fields
DataSet.nanValue
DataSet.pmText
DataSet.restoreMode
DataSet.rowCount
DataSet.softDelete
DataSet.strictRestore
DataSet.undoable
Methods
addRow
addRows
appendDataRows
appendJsonRows
appendXmlRows
clearRows
clearRowStates
deleteRow
deleteRows
exportToCsv
findRow
findRows
getAllRows
getAllStateRows
getChildren
getDescendantCount
getDescendants
getJsonRows
getRow
getRowObject
getRowObjects
getRowProps
getRowsByIds
getRowsProps
getStateRows
getValue
insertDataRows
insertJsonRows
insertRow
insertRows
insertXmlRows
restoreUpdatedRows
restoreUpdatedStates
rowById
setJsonRows
setRows
setValue
setValueEx
setXmlRows
updateRow
Inherited Methods
EventAware.addListener
DLBase.assign
DataSet.beginUpdate
DataSet.canRedo
DataSet.canUndo
DataSet.canUpdateValue
DataSet.clearRowStates
DataSet.clearRowTags
DataSet.clearUndo
DataSet.ctor
DataSet.endUpdate
DataSet.fieldByName
DataSet.getAllStateRows
DataSet.getDistinctValues
DataSet.getField
DataSet.getFieldIndex
DataSet.getFieldIndexEx
DataSet.getFieldName
DataSet.getFieldNames
DLBase.getProperties
DLBase.getProperty
DataSet.getRowsByTag
DataSet.getRowsByTags
DataSet.getRowState
DataSet.getRowStateCount
DataSet.getRowTag
DataSet.getStateRows
DataSet.hasData
DataSet.recalcRows
DataSet.redo
EventAware.removeListener
DataSet.restoreUpdatedRows
DataSet.restoreUpdatedStates
DataSet.setFields
DLBase.setProperties
DLBase.setProperty
DataSet.setRowState
DataSet.setRowStates
DataSet.setRowTag
DataSet.setRowTags
DLBase.toggle
DataSet.undo
DataSet.unsetRowTags
Events
onRowAdded
onRowAdding
onRowDeleted
onRowDeleting
onRowsAdded
onRowsAdding
onRowsDeleted
onRowsDeleting
onRowUpdated
onRowUpdating
onStateChanged
onStatesChanged
onTagChanged
onTagsChanged
onValueChanged
onValueChanging
Inherited Events
DataSet.onCommandStackChanged
DataSet.onDataChanged
DataSet.onRefresh
DataSet.onRowCountChanged
DataSet.onStatesCleared
DataSet.onTagsCleared

 

See Also
TreeView
트리 개요
Examples
Tree 데이터셋
Hello Tree