Widgets
Samples
Demos
Forum
Services
Documentation
add
addCellCss
addCss
addRowCss
addSelectArea
addSpan
adjust
adjustColumn
adjustRowHeight
attachEvent
bind
blockEvent
callEvent
clearAll
clearCss
clearSelection
clearValidation
closeSub
collectValues
columnId
copy
count
define
destructor
detachEvent
disable
eachColumn
eachRow
edit
editCancel
editCell
editColumn
editNext
editRow
editStop
enable
exists
filter
filterByAll
find
focusEditor
freezeRow
getAllSelectAreas
getChildViews
getColumnConfig
getColumnIndex
getColumns
getCss
getEditState
getEditor
getEditorValue
getFilter
getFirstId
getFooterNode
getFormView
getHeaderContent
getHeaderNode
getIdByIndex
getIndexById
getItem
getItemNode
getLastId
getNextId
getNode
getPage
getPager
getParentView
getPrevId
getScrollState
getSelectArea
getSelectedId
getSelectedItem
getSpan
getSpanNode
getState
getSubView
getText
getTopParentView
getVisibleCount
group
hasCss
hasEvent
hide
hideColumn
hideOverlay
ignoreUndo
isColumnVisible
isEnabled
isSelected
isVisible
load
loadNext
locate
mapCells
mapEvent
mapSelection
markSorting
move
moveBottom
moveColumn
moveDown
moveSelection
moveTop
moveUp
openSub
parse
queryView
refresh
refreshColumns
refreshFilter
refreshSelectArea
registerFilter
remove
removeCellCss
removeCss
removeRowCss
removeSelectArea
removeSpan
removeUndo
render
resize
resizeSubView
scrollTo
select
selectAll
selectRange
serialize
setColumnWidth
setPage
setRowHeight
setState
show
showCell
showColumn
showColumnBatch
showItem
showItemByIndex
showOverlay
sort
sync
unbind
unblockEvent
undo
ungroup
unselect
unselectAll
updateItem
validate
validateEditor
waitSave
Start
API Reference
ui.datatable
Methods
addSelectArea
adds a select area
void
addSelectArea
(
object
start
,
object
end
,
boolean
preserve
, [
string
area_name
,
string
css
,
boolean
handle
] );
start
object
the id object of the left top cell, contains two properties: the row id and the column id
end
object
the id object of the right cell, contains two properties: the row id and the column id
preserve
boolean
defines if the previous select area should be saved, false by default
area_name
string
optional, the name used to address to an area to change or to delete it
css
string
optional, the css style for an area
handle
boolean
optional, defines whether selection will be resized with or without a handle
Available only in
PRO Edition
Example
$$
(
"dtable"
)
.
addSelectArea
(
start
,
end
,
preserve
)
;
Related samples
Area Selection
See also
API
getSelectArea
removeSelectArea
getAllSelectAreas
Articles
Area Selection in DataTable
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.
Go to Forum
If you have not checked yet, be sure to visit site of our main product Webix
html5 ui library
and page of
javascript data table
product.