Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/6pac/SlickGrid
/ functions
Functions
1,288 in github.com/6pac/SlickGrid
⨍
Functions
1,288
◇
Types & classes
273
↓ 2,875 callers
Method
get
(key: string)
src/plugins/slick.state.ts:42
↓ 374 callers
Method
contains
(parent: HTMLElement, child: HTMLElement)
src/slick.core.ts:1050
↓ 281 callers
Method
trigger
* A generic helper that creates (or uses) a SlickEventData from the provided event, * attaches the grid instance to the event arguments, and calls
src/slick.grid.ts:3913
↓ 280 callers
Method
bind
Bind an event listener to any element
src/slick.core.ts:673
↓ 194 callers
Method
subscribe
(_eventName: string | Function, _callback: (data: ArgType) => void)
src/slick.core.ts:21
↓ 189 callers
Method
type
()
src/slick.dataview.ts:1673
↓ 118 callers
Method
extend
(...args: any[])
src/slick.core.ts:797
↓ 101 callers
Method
createDomElement
* Create a DOM Element with any optional attributes or properties. * It will only accept valid DOM element properties that `createElement` would ac
src/slick.core.ts:857
↓ 94 callers
Method
getItem
Retrieve an item from the DataView at specific index
src/slick.dataview.ts:765
↓ 84 callers
Method
notify
* Fires an event notifying all subscribers. * @method notify * @param {Object} args Additional data object to be passed to all handlers. * @p
src/slick.core.ts:208
↓ 83 callers
Method
setItems
* Set the Items with a new Dataset and optionally pass a different Id property name * @param {Array<*>} data - array of data * @param {String} [
src/slick.dataview.ts:304
↓ 78 callers
Method
subscribe
(next?: (value: T) => void, error?: (error: any) => void, complete?: () => void)
src/models/customTooltipOption.interface.ts:5
↓ 77 callers
Method
width
(el: HTMLElement, value?: number | string)
src/slick.core.ts:1024
↓ 68 callers
Method
getItems
Get all DataView Items
src/slick.dataview.ts:290
↓ 63 callers
Method
getLength
Get row count (rows displayed in current page)
src/slick.dataview.ts:760
↓ 63 callers
Method
hasFrozenColumns
()
src/slick.grid.ts:1472
↓ 57 callers
Method
unsubscribe
()
src/models/customTooltipOption.interface.ts:11
↓ 55 callers
Method
isDefined
(value: T | undefined | null)
src/slick.core.ts:936
↓ 53 callers
Function
assertConsistency
(dv,idProperty)
tests/dataview/dataview.js:14
↓ 51 callers
Method
height
(el: HTMLElement, value?: number | string)
src/slick.core.ts:1032
↓ 44 callers
Method
preventDefault
()
src/slick.core.ts:123
↓ 43 callers
Method
getEditorLock
Get Editor lock
src/slick.grid.ts:3347
↓ 42 callers
Method
getDataLength
Returns the size of the databinding source.
src/slick.grid.ts:3376
↓ 41 callers
Method
getCell
(row: number, col: number, viewport?: string, options?: { parentSelector?: string, rowHeight?: number; })
cypress/support/commands.ts:36
↓ 41 callers
Method
getColumns
()
src/plugins/slick.state.ts:235
↓ 41 callers
Method
offset
(el: HTMLElement | null)
src/slick.core.ts:1004
↓ 41 callers
Method
render
* (re)Render the grid * * Main rendering method that first dequeues any pending scroll throttling, then obtains the visible and rendered ranges.
src/slick.grid.ts:6442
↓ 38 callers
Method
getDataItem
* Returns the databinding item at a given position. * @param {Number} index Item row index.
src/slick.grid.ts:3399
↓ 36 callers
Method
classNameToList
* Accepts string containing the class or space-separated list of classes, and * returns list of individual classes. * Method properly takes into
src/slick.core.ts:917
↓ 33 callers
Method
scrollTo
* Scroll to a Y position in the grid (clamped to valid bounds) * * Updates internal offsets, recalculates the visible range, cleans up rows outs
src/slick.grid.ts:6615
↓ 31 callers
Method
refresh
()
src/slick.dataview.ts:1368
↓ 30 callers
Method
sort
Sort Method to use by the DataView
src/slick.dataview.ts:341
↓ 27 callers
Method
beginUpdate
* Begins a bached update of the items in the data view. * including deletes and the related events are postponed to the endUpdate call. * As cer
src/slick.dataview.ts:164
↓ 26 callers
Method
endUpdate
()
src/slick.dataview.ts:169
↓ 25 callers
Method
stopImmediatePropagation
* Prevents the rest of the handlers from being executed. * @method stopImmediatePropagation
src/slick.core.ts:103
↓ 24 callers
Method
getOptions
Get current plugin options
src/plugins/slick.rowdetailview.ts:238
↓ 24 callers
Method
getReturnValue
()
src/slick.core.ts:144
↓ 24 callers
Method
unbindByEventName
(element: Element | Window, eventName: string)
src/slick.core.ts:687
↓ 23 callers
Method
stopPropagation
* Stops event from propagating up the DOM tree. * @method stopPropagation
src/slick.core.ts:85
↓ 21 callers
Function
g
(g,d,h,e)
lib/jquery.tmpl.min.js:10
↓ 21 callers
Method
unbindAll
* Unbind all event listeners that were bounded, optionally provide a group name to unbind all listeners assigned to that specific group only.
src/slick.core.ts:697
↓ 20 callers
Method
commitCurrentEdit
* Commits the current edit, validating and applying changes if necessary. * If validation fails, an error is triggered and focus remains in the edi
src/slick.grid.ts:3783
↓ 20 callers
Method
emptyElement
(element?: T | null)
src/slick.core.ts:903
↓ 20 callers
Method
focus
@alias `setFocus`
src/slick.grid.ts:3500
↓ 20 callers
Method
getUID
Get grid unique identifier
src/slick.grid.ts:7669
↓ 19 callers
Method
applyHtmlCode
* Apply HTML code by 3 different ways depending on what is provided as input and what options are enabled. * 1. value is an HTMLElement or Document
src/slick.grid.ts:4555
↓ 19 callers
Method
hide
(el: HTMLElement | HTMLElement[])
src/slick.core.ts:1108
↓ 19 callers
Method
isActive
* Returns true if a specified edit controller is active (has the edit lock). * If the parameter is not specified, returns true if any edit controll
src/slick.core.ts:586
↓ 19 callers
Method
setFilter
* Set a Filter that will be used by the DataView * @param {Function} fn - filter callback function
src/slick.dataview.ts:415
↓ 19 callers
Method
toString
* Returns a readable representation of a range. * @method toString * @return {String}
src/slick.core.ts:367
↓ 18 callers
Method
addSlickEventPubSubWhenDefined
* User could optionally add PubSub Service to SlickEvent * When it is defined then a SlickEvent `notify()` call will also dispatch it by using the
src/slick.core.ts:1149
↓ 18 callers
Method
getColumnIndex
* Returns the index of a column with a given id. Since columns can be reordered by the user, this can be used to get the column definition independent
src/slick.grid.ts:3075
↓ 18 callers
Method
getPubSubService
Get the displayed scrollbar dimensions
src/slick.grid.ts:7874
↓ 17 callers
Method
deleteItem
* Deletes a single item identified by the given id from the data view. * @param {String|Number} id The id identifying the object to delete.
src/slick.dataview.ts:653
↓ 17 callers
Method
deleteItems
* Deletes multiple item identified by the given ids from the data view. * @param {Array} ids The ids of the items to delete.
src/slick.dataview.ts:673
↓ 17 callers
Method
getActiveCell
* Returns an object representing the coordinates of the currently active cell: * @example `{ row: activeRow, cell: activeCell }`
src/slick.grid.ts:8068
↓ 17 callers
Method
getCellNode
* Returns a DOM element containing a cell at a given row and cell. * @param row A row index. * @param cell A column index. * @returns {HTMLDi
src/slick.grid.ts:8683
↓ 16 callers
Method
getCellFromEvent
* Returns a hash containing row and cell indexes from a standard W3C event. * @param {*} event A standard W3C event.
src/slick.grid.ts:4505
↓ 16 callers
Method
setStyleSize
(el: HTMLElement, style: string, val?: number | string | Function)
src/slick.core.ts:1040
↓ 15 callers
Method
destroy
* Destroy (dispose) of SlickGrid * * Unbinds all event handlers, cancels any active cell edits, triggers the onBeforeDestroy event, * unregis
src/slick.grid.ts:1088
↓ 15 callers
Method
focus
()
src/slick.editors.ts:61
↓ 15 callers
Method
getSelectionModel
Returns the current SelectionModel. See here for more information about SelectionModels.
src/slick.grid.ts:1450
↓ 14 callers
Method
setColumns
* Sets grid columns. Column headers will be recreated and all rendered rows will be removed. * To rerender the grid (if necessary), call render().
src/slick.grid.ts:3297
↓ 13 callers
Method
canCellBeActive
* Returns true if you can click on a given cell and make it the active focus. * @param {number} row A row index. * @param {number} col A column
src/slick.grid.ts:8745
↓ 13 callers
Method
getData
Returns an array of every data object, unless you're using DataView in which case it returns a DataView object.
src/slick.grid.ts:3371
↓ 13 callers
Function
id
(name)
lib/qunit.js:678
↓ 13 callers
Method
parents
(el: HTMLElement | ParentNode, selector?: string)
src/slick.core.ts:1068
↓ 13 callers
Method
setActiveCell
* Sets an active cell. * @param {number} row - A row index. * @param {number} cell - A column index. * @param {boolean} [optionEditMode] Opti
src/slick.grid.ts:8708
↓ 13 callers
Method
unsubscribeAll
()
src/slick.core.ts:256
↓ 13 callers
Method
updateItem
* Updates a single item in the data view given the id and new value. * @param id The new id of the item. * @param item The item which should be
src/slick.dataview.ts:586
↓ 12 callers
Method
getIdxById
Get row index in the DataView by its Id
src/slick.dataview.ts:466
↓ 12 callers
Method
getOptions
Returns an object containing all of the Grid options set on the grid. See a list of Grid Options here.
src/slick.grid.ts:1278
↓ 12 callers
Function
getScrollDistanceWhenDragOutsideGrid
(selector, viewport, dragDirection, fromRow, fromCol, px = 100)
cypress/support/drag.ts:59
↓ 12 callers
Method
sanitizeHtmlString
html sanitizer to avoid scripting attack
src/slick.grid.ts:8110
↓ 12 callers
Method
setGrouping
Set some Grouping
src/slick.dataview.ts:433
↓ 12 callers
Method
show
(el: HTMLElement | HTMLElement[], type = '')
src/slick.core.ts:1100
↓ 11 callers
Function
execAsyncPiped
(command, execArgs, execOpts, cmdDryRun)
scripts/child-process.mjs:42
↓ 11 callers
Method
getNativeEvent
()
src/slick.core.ts:119
↓ 11 callers
Method
insertItem
* Inserts a single item into the data view at the given position. * @param insertBefore {Number} The 0-based index before which the item should be
src/slick.dataview.ts:611
↓ 11 callers
Method
scrollCellIntoView
Scroll to a specific cell and make it into the view * * First calls scrollRowIntoView for the row. If the cell is not in a frozen column, * c
src/slick.grid.ts:6821
↓ 11 callers
Method
setFilterArgs
add extra filter arguments to the filter method
src/slick.dataview.ts:215
↓ 11 callers
Method
setSelectedRows
(rows: number[])
src/plugins/slick.rowselectionmodel.ts:144
↓ 10 callers
Method
clear
()
src/slick.remotemodel.ts:45
↓ 10 callers
Method
getParentRowSpanByCell
* Returns the parent rowspan details when child cell are spanned from a rowspan or `null` when it's not spanned. * By default it will exclude the p
src/slick.grid.ts:6931
↓ 10 callers
Method
getVBoxDelta
* Calculates the vertical box sizes (the sum of top/bottom borders and paddings) * for a given element by reading its computed style. * @param e
src/slick.grid.ts:7704
↓ 10 callers
Method
makeActiveCellNormal
* Make the cell normal again (for example after destroying cell editor), * we can also optionally refocus on the current active cell (again possibl
src/slick.grid.ts:3629
↓ 10 callers
Method
navigate
* @param {string} dir Navigation direction. * @return {boolean} Whether navigation resulted in a change of active cell.
src/slick.grid.ts:8605
↓ 10 callers
Method
scrollRowIntoView
* Scroll to a specific row and make it into the view * @param {Number} row - grid row number * @param {Boolean} doPaging - scroll when paginatio
src/slick.grid.ts:7034
↓ 10 callers
Method
set
(key: string, obj: any)
src/plugins/slick.state.ts:60
↓ 10 callers
Method
setSelectedRanges
(ranges: SlickRange_[], caller = 'SlickHybridSelectionModel.setSelectedRanges', selectionMode = '')
src/plugins/slick.hybridselectionmodel.ts:222
↓ 10 callers
Method
setSelectionModel
* Unregisters a current selection model and registers a new one. See the definition of SelectionModel for more information. * @param {Object} selec
src/slick.grid.ts:1436
↓ 10 callers
Method
setSortColumns
* Accepts an array of objects in the form [ { columnId: [string], sortAsc: [boolean] }, ... ] to * define the grid's sort order. When called, this
src/slick.grid.ts:3179
↓ 9 callers
Method
getCellFromPoint
* Returns row and cell indexes by providing x,y coordinates. * Coordinates are relative to the top left corner of the grid beginning with the first
src/slick.grid.ts:7884
↓ 9 callers
Method
getItemMetadaWhenExists
* Returns item metadata by a row index when it exists * @param {Number} row * @returns {ItemMetadata | null}
src/slick.grid.ts:3417
↓ 9 callers
Method
getSelectedRanges
()
src/plugins/slick.rowselectionmodel.ts:161
↓ 9 callers
Method
getSelectedRows
()
src/plugins/slick.rowselectionmodel.ts:140
↓ 9 callers
Method
init
Initializes the grid.
src/slick.grid.ts:647
↓ 9 callers
Method
isFunction
(obj: any)
src/slick.core.ts:758
↓ 9 callers
Method
setFocus
()
src/slick.grid.ts:3505
↓ 9 callers
Method
toFloat
(value: string | number)
src/slick.core.ts:1092
next →
1–100 of 1,288, ranked by callers