MCPcopy Index your code

hub / github.com/6pac/SlickGrid / functions

Functions1,288 in github.com/6pac/SlickGrid

↓ 2,875 callersMethodget
(key: string)
src/plugins/slick.state.ts:42
↓ 374 callersMethodcontains
(parent: HTMLElement, child: HTMLElement)
src/slick.core.ts:1050
↓ 281 callersMethodtrigger
* 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 callersMethodbind
Bind an event listener to any element
src/slick.core.ts:673
↓ 194 callersMethodsubscribe
(_eventName: string | Function, _callback: (data: ArgType) => void)
src/slick.core.ts:21
↓ 189 callersMethodtype
()
src/slick.dataview.ts:1673
↓ 118 callersMethodextend
(...args: any[])
src/slick.core.ts:797
↓ 101 callersMethodcreateDomElement
* 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 callersMethodgetItem
Retrieve an item from the DataView at specific index
src/slick.dataview.ts:765
↓ 84 callersMethodnotify
* 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 callersMethodsetItems
* 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 callersMethodsubscribe
(next?: (value: T) => void, error?: (error: any) => void, complete?: () => void)
src/models/customTooltipOption.interface.ts:5
↓ 77 callersMethodwidth
(el: HTMLElement, value?: number | string)
src/slick.core.ts:1024
↓ 68 callersMethodgetItems
Get all DataView Items
src/slick.dataview.ts:290
↓ 63 callersMethodgetLength
Get row count (rows displayed in current page)
src/slick.dataview.ts:760
↓ 63 callersMethodhasFrozenColumns
()
src/slick.grid.ts:1472
↓ 57 callersMethodunsubscribe
()
src/models/customTooltipOption.interface.ts:11
↓ 55 callersMethodisDefined
(value: T | undefined | null)
src/slick.core.ts:936
↓ 53 callersFunctionassertConsistency
(dv,idProperty)
tests/dataview/dataview.js:14
↓ 51 callersMethodheight
(el: HTMLElement, value?: number | string)
src/slick.core.ts:1032
↓ 44 callersMethodpreventDefault
()
src/slick.core.ts:123
↓ 43 callersMethodgetEditorLock
Get Editor lock
src/slick.grid.ts:3347
↓ 42 callersMethodgetDataLength
Returns the size of the databinding source.
src/slick.grid.ts:3376
↓ 41 callersMethodgetCell
(row: number, col: number, viewport?: string, options?: { parentSelector?: string, rowHeight?: number; })
cypress/support/commands.ts:36
↓ 41 callersMethodgetColumns
()
src/plugins/slick.state.ts:235
↓ 41 callersMethodoffset
(el: HTMLElement | null)
src/slick.core.ts:1004
↓ 41 callersMethodrender
* (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 callersMethodgetDataItem
* Returns the databinding item at a given position. * @param {Number} index Item row index.
src/slick.grid.ts:3399
↓ 36 callersMethodclassNameToList
* 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 callersMethodscrollTo
* 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 callersMethodrefresh
()
src/slick.dataview.ts:1368
↓ 30 callersMethodsort
Sort Method to use by the DataView
src/slick.dataview.ts:341
↓ 27 callersMethodbeginUpdate
* 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 callersMethodendUpdate
()
src/slick.dataview.ts:169
↓ 25 callersMethodstopImmediatePropagation
* Prevents the rest of the handlers from being executed. * @method stopImmediatePropagation
src/slick.core.ts:103
↓ 24 callersMethodgetOptions
Get current plugin options
src/plugins/slick.rowdetailview.ts:238
↓ 24 callersMethodgetReturnValue
()
src/slick.core.ts:144
↓ 24 callersMethodunbindByEventName
(element: Element | Window, eventName: string)
src/slick.core.ts:687
↓ 23 callersMethodstopPropagation
* Stops event from propagating up the DOM tree. * @method stopPropagation
src/slick.core.ts:85
↓ 21 callersFunctiong
(g,d,h,e)
lib/jquery.tmpl.min.js:10
↓ 21 callersMethodunbindAll
* 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 callersMethodcommitCurrentEdit
* 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 callersMethodemptyElement
(element?: T | null)
src/slick.core.ts:903
↓ 20 callersMethodfocus
@alias `setFocus`
src/slick.grid.ts:3500
↓ 20 callersMethodgetUID
Get grid unique identifier
src/slick.grid.ts:7669
↓ 19 callersMethodapplyHtmlCode
* 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 callersMethodhide
(el: HTMLElement | HTMLElement[])
src/slick.core.ts:1108
↓ 19 callersMethodisActive
* 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 callersMethodsetFilter
* Set a Filter that will be used by the DataView * @param {Function} fn - filter callback function
src/slick.dataview.ts:415
↓ 19 callersMethodtoString
* Returns a readable representation of a range. * @method toString * @return {String}
src/slick.core.ts:367
↓ 18 callersMethodaddSlickEventPubSubWhenDefined
* 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 callersMethodgetColumnIndex
* 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 callersMethodgetPubSubService
Get the displayed scrollbar dimensions
src/slick.grid.ts:7874
↓ 17 callersMethoddeleteItem
* 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 callersMethoddeleteItems
* 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 callersMethodgetActiveCell
* Returns an object representing the coordinates of the currently active cell: * @example `{ row: activeRow, cell: activeCell }`
src/slick.grid.ts:8068
↓ 17 callersMethodgetCellNode
* 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 callersMethodgetCellFromEvent
* 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 callersMethodsetStyleSize
(el: HTMLElement, style: string, val?: number | string | Function)
src/slick.core.ts:1040
↓ 15 callersMethoddestroy
* Destroy (dispose) of SlickGrid * * Unbinds all event handlers, cancels any active cell edits, triggers the onBeforeDestroy event, * unregis
src/slick.grid.ts:1088
↓ 15 callersMethodfocus
()
src/slick.editors.ts:61
↓ 15 callersMethodgetSelectionModel
Returns the current SelectionModel. See here for more information about SelectionModels.
src/slick.grid.ts:1450
↓ 14 callersMethodsetColumns
* 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 callersMethodcanCellBeActive
* 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 callersMethodgetData
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 callersFunctionid
(name)
lib/qunit.js:678
↓ 13 callersMethodparents
(el: HTMLElement | ParentNode, selector?: string)
src/slick.core.ts:1068
↓ 13 callersMethodsetActiveCell
* 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 callersMethodunsubscribeAll
()
src/slick.core.ts:256
↓ 13 callersMethodupdateItem
* 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 callersMethodgetIdxById
Get row index in the DataView by its Id
src/slick.dataview.ts:466
↓ 12 callersMethodgetOptions
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 callersFunctiongetScrollDistanceWhenDragOutsideGrid
(selector, viewport, dragDirection, fromRow, fromCol, px = 100)
cypress/support/drag.ts:59
↓ 12 callersMethodsanitizeHtmlString
html sanitizer to avoid scripting attack
src/slick.grid.ts:8110
↓ 12 callersMethodsetGrouping
Set some Grouping
src/slick.dataview.ts:433
↓ 12 callersMethodshow
(el: HTMLElement | HTMLElement[], type = '')
src/slick.core.ts:1100
↓ 11 callersFunctionexecAsyncPiped
(command, execArgs, execOpts, cmdDryRun)
scripts/child-process.mjs:42
↓ 11 callersMethodgetNativeEvent
()
src/slick.core.ts:119
↓ 11 callersMethodinsertItem
* 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 callersMethodscrollCellIntoView
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 callersMethodsetFilterArgs
add extra filter arguments to the filter method
src/slick.dataview.ts:215
↓ 11 callersMethodsetSelectedRows
(rows: number[])
src/plugins/slick.rowselectionmodel.ts:144
↓ 10 callersMethodclear
()
src/slick.remotemodel.ts:45
↓ 10 callersMethodgetParentRowSpanByCell
* 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 callersMethodgetVBoxDelta
* 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 callersMethodmakeActiveCellNormal
* 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 callersMethodnavigate
* @param {string} dir Navigation direction. * @return {boolean} Whether navigation resulted in a change of active cell.
src/slick.grid.ts:8605
↓ 10 callersMethodscrollRowIntoView
* 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 callersMethodset
(key: string, obj: any)
src/plugins/slick.state.ts:60
↓ 10 callersMethodsetSelectedRanges
(ranges: SlickRange_[], caller = 'SlickHybridSelectionModel.setSelectedRanges', selectionMode = '')
src/plugins/slick.hybridselectionmodel.ts:222
↓ 10 callersMethodsetSelectionModel
* 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 callersMethodsetSortColumns
* 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 callersMethodgetCellFromPoint
* 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 callersMethodgetItemMetadaWhenExists
* Returns item metadata by a row index when it exists * @param {Number} row * @returns {ItemMetadata | null}
src/slick.grid.ts:3417
↓ 9 callersMethodgetSelectedRanges
()
src/plugins/slick.rowselectionmodel.ts:161
↓ 9 callersMethodgetSelectedRows
()
src/plugins/slick.rowselectionmodel.ts:140
↓ 9 callersMethodinit
Initializes the grid.
src/slick.grid.ts:647
↓ 9 callersMethodisFunction
(obj: any)
src/slick.core.ts:758
↓ 9 callersMethodsetFocus
()
src/slick.grid.ts:3505
↓ 9 callersMethodtoFloat
(value: string | number)
src/slick.core.ts:1092
next →1–100 of 1,288, ranked by callers