Check documentation for the
latest version of dhtmlxSuite
enableValidation DHTMLX Docs
Samples
Forum
Support
Documentation
/
Suite 5.X
addRow
addRowFromClipboard
adjustColumnSize
attachEvent
attachFooter
attachHeader
attachToObject
cellById
cellByIndex
cellToClipboard
cells
cells2
changePage
changePageRelative
changeRowId
checkAll
clearAll
clearAndLoad
clearChangedState
clearConfigCookie
clearSelection
collapseAllGroups
collapseColumns
collapseGroup
collectValues
copyBlockToClipboard
copyRowContent
deleteColumn
deleteRow
deleteSelectedRows
destructor
detachEvent
detachFooter
detachHeader
disableCell
disableUndoRedo
doRedo
doUndo
doesRowExist
editCell
editStop
enableAccessKeyMap
enableAlterCss
enableAutoHeight
enableAutoHiddenColumnsSaving
enableAutoSaving
enableAutoSizeSaving
enableAutoWidth
enableBlockSelection
enableCSVAutoID
enableCSVHeader
enableCellIds
enableColSpan
enableColumnAutoSize
enableColumnMove
enableContextMenu
enableDistributedParsing
enableDragAndDrop
enableDragOrder
enableEditEvents
enableEditTabOnly
enableExcelKeyMap
enableHeaderImages
enableHeaderMenu
enableKeyboardSupport
enableLightMouseNavigation
enableMarkedCells
enableMathEditing
enableMathSerialization
enableMercyDrag
enableMultiline
enableMultiselect
enableOrderSaving
enablePaging
enablePreRendering
enableResizing
enableRowsHover
enableRowspan
enableSmartRendering
enableSortingSaving
enableStableSorting
enableTooltips
enableUndoRedo
enableValidation
expandAllGroups
expandColumns
expandGroup
filterBy
filterByAll
findCell
forEachCell
forEachRow
forEachRowInGroup
forceFullLoading
forceLabelSelection
getAllRowIds
getCellExcellType
getChangedRows
getCheckedRows
getColIndexById
getColLabel
getColType
getColTypeById
getColWidth
getColumnCombo
getColumnId
getColumnLabel
getColumnsNum
getCombo
getCustomCombo
getFilterElement
getFilterElementById
getFooterLabel
getHeaderMenu
getMarked
getRedo
getRowAttribute
getRowData
getRowId
getRowIndex
getRowsNum
getSelectedBlock
getSelectedCellIndex
getSelectedRowId
getSortingState
getStateOfView
getUndo
getUserData
gridFromClipboard
gridToClipboard
gridToGrid
gridToTreeElement
groupBy
groupStat
init
insertColumn
isColumnHidden
load
loadHiddenColumnsFromCookie
loadOpenStates
loadOrderFromCookie
loadSizeFromCookie
loadSortingFromCookie
lockRow
makeFilter
makeSearch
mark
moveColumn
moveRow
moveRowDown
moveRowTo
moveRowUp
parse
pasteBlockFromClipboard
post
preventIECaching
printView
refreshComboColumn
refreshFilters
refreshMath
registerCList
resetColumnsOrder
rowToClipboard
rowToDragElement
saveHiddenColumnsToCookie
saveOpenStates
saveOrderToCookie
saveSizeToCookie
saveSortingToCookie
selectAll
selectBlock
selectCell
selectRow
selectRowById
serialize
serializeToCSV
setActive
setAwaitedRowHeight
setCSVDelimiter
setCellExcellType
setCellTextStyle
setCheckedRows
setColAlign
setColLabel
setColSorting
setColTypes
setColVAlign
setColValidators
setColWidth
setColspan
setColumnColor
setColumnExcellType
setColumnHidden
setColumnId
setColumnIds
setColumnLabel
setColumnMinWidth
setColumnsVisibility
setCustomSorting
setDateFormat
setDelimiter
setDragBehavior
setEditable
setExternalTabOrder
setFieldName
setFooterLabel
setHeader
setIconsPath
setIconset
setImagesPath
setInitWidths
setInitWidthsP
setMathRound
setNoHeader
setNumberFormat
setPagingSkin
setPagingTemplates
setPagingWTMode
setRowAttribute
setRowColor
setRowData
setRowExcellType
setRowHidden
setRowId
setRowTextBold
setRowTextNormal
setRowTextStyle
setRowspan
setSerializableColumns
setSerializationLevel
setSizes
setSkin
setSortImgState
setStyle
setSubGrid
setSubTree
setTabOrder
setUserData
setXMLAutoLoading
showRow
sortRows
splitAt
startFastOperations
stopFastOperations
submitAddedRows
submitColumns
submitOnlyChanged
submitOnlyRowID
submitOnlySelected
submitSerialization
toExcel
toPDF
treeToGridElement
uid
unGroup
uncheckAll
unmarkAll
unselectRowById
updateCellFromClipboard
updateFromXML
updateGroups
updateRowFromClipboard
validateCell
Start
Grid
dhtmlXGrid API
Methods
enableValidation
enable validation in the grid
void
enableValidation
(
boolean
mode
);
mode
boolean
enable/disable the validation in the grid
Available only in
PRO Edition
Example
myGrid.
enableValidation
(
true
)
;
Back to top