💻
Synergi - Webutvikling
Ctrlk
  • Welcome!
  • Guides
    • Getting Started
    • Creating a new application
    • Using data objects
    • Uploading files
    • Getting data with useFetchData
    • Binding form fields
    • Typed data object definitions
    • Row access and updates
    • Developing with fresh data
    • Localizing an application
    • Deploying to production
    • Reusable lookup components
    • Custom field bindings
    • Pagination with usePaging
  • Reference
    • appframe-cli
    • appframe-core
    • appframe-data
      • DataObject
        • addRow
        • areParametersChanged
        • bulkDestroy
        • bulkInsert
        • canModifyCurrentRow
        • canModifyRow
        • cancelEdit
        • cancelField
        • clearFilter
        • currentRow
        • dataLastLoaded
        • deleteCurrentRow
        • deleteRow
        • endEdit
        • filter
        • findIndex
        • find
        • forEach
        • getBlobURL
        • getCurrentIndex
        • getDataLength
        • getDataSourceId
        • getData
        • getDirtyRecord
        • getFieldDefinition
        • getFields
        • getFileStoreURL
        • getIndexFromUniqueId
        • getLinkFields
        • getMasterDataObject
        • getMaxRecords
        • getPagingComponent
        • getParameter
        • getUniqueIdField
        • getUploader
        • getUploadManager
        • hasDirtyRecords
        • hasError
        • hasField
        • isAutoLoadDisabled
        • isDataLoaded
        • isDataLoading
        • isDeleteAllowed
        • isDeleteNeverAllowed
        • isDirty
        • isDynamicLoading
        • isInsertAllowed
        • isInsertNeverAllowed
        • isNewRecord
        • isNullable
        • isSaving
        • isUpdateAllowed
        • isUpdateNeverAllowed
        • newRow
        • refreshCurrentRow
        • refreshDataSource
        • refreshRow
        • removeRow
        • save
        • setAllowDelete
        • setAllowInsert
        • setAllowUpdate
        • setCurrentIndex
        • setParameter
        • setParameters
      • DataHandler
      • Client
      • Export to Excel
      • Field Definition
      • File Uploader
      • formDataToDataObjectRecord
      • formDataToObject
    • appframe-mui
    • appframe-react
    • appframe-updater
    • appframe-vite
    • appframe-vue
    • synergi-course
    • synergi-lit
    • synergi-react
    • synergi-webc
Powered by GitBook
On this page
  1. Reference
  2. appframe-data

DataObject

Documentation for the DataObject class in the appframe-data package

DataObject is the main interface for working with records from an Appframe data source. It exposes methods for retrieving, editing and persisting data. Each public method is described in its own document:

  • addRow

  • areParametersChanged

  • bulkDestroy

  • bulkInsert

  • canModifyCurrentRow

  • canModifyRow

  • cancelEdit

  • cancelField

  • clearFilter

  • currentRow

  • dataLastLoaded

  • deleteCurrentRow

  • deleteRow

  • endEdit

  • filter

  • findIndex

  • find

  • forEach

  • getBlobURL

  • getCurrentIndex

  • getDataLength

  • getDataSourceId

  • getData

  • getDirtyRecord

  • getFieldDefinition

  • getFields

  • getFileStoreURL

  • getIndexFromUniqueId

  • getLinkFields

  • getMasterDataObject

  • getMaxRecords

  • getPagingComponent

  • getParameter

  • getUniqueIdField

  • getUploader

  • getUploadManager

  • hasDirtyRecords

  • hasError

  • hasField

  • isAutoLoadDisabled

  • isDataLoaded

  • isDataLoading

  • isDeleteAllowed

  • isDeleteNeverAllowed

  • isDirty

  • isDynamicLoading

  • isInsertAllowed

  • isInsertNeverAllowed

  • isNewRecord

  • isNullable

  • isSaving

  • isUpdateAllowed

  • isUpdateNeverAllowed

  • newRow

  • refreshCurrentRow

  • refreshDataSource

  • refreshRow

  • removeRow

  • save

  • setAllowDelete

  • setAllowInsert

  • setAllowUpdate

  • setCurrentIndex

  • setParameter

  • setParameters

More methods will be documented over time. If you need functionality not covered here, check the source in packages/appframe-data.

Previousappframe-dataNextaddRow

Last updated 3 months ago

Was this helpful?

Was this helpful?