To access the internal functions you use to object binded to v-grid-context
you have seen in all samples earlier in the docs.
Selection class
Funtions of the internal selection class
Get the selection
Number of rows in the selection
Returns true if row in displayed rows is selected.
same as above just in binded collection
deselects row passed in if selected in displayed rows
same as above just in binded collection
add row to selection in displayed rows, if add to selection is not true, it replaces the old selection
same as above just in binded collection
select rows in displayed selection, from-> to row
same as above just in binded collection
clears selection
returns array of index of the rows selected in in displayed rows
same as above just in binded collection
pass in rows you want to select in displayed selection
same as above just in binded collection
Selection - filtering
Can only be used with local collection
show only selected
show only the ones that isnt selectedselected
show only slected and not selected (all)
Scrolling
scroll to top
scroll to x
scroll to bottom after you add/push new element into you array/collection
get scrolltop
Other
activate overlay
deactivate overlay
sort by code
redraws the grid (all is replaced)
manually tell grid you have replaced collection/something and make it refresh all rows
manually tell grid to rebuild columns/rows
needed when used with getColumns/setColumns
get internal column config
needed when used with getColumns
set internal column config
needed when used with setColumns
Remote
set data