MCPcopy
hub / github.com/plotly/dash / getFixedRows

Function getFixedRows

components/dash-table/src/dash-table/dash/Sanitizer.ts:59–68  ·  view source on GitHub ↗
(
    fixed: Fixed,
    columns: IColumn[],
    filter_action: TableAction
)

Source from the content-addressed store, hash-verified

57 data2number(fixed.data);
58
59const getFixedRows = (
60 fixed: Fixed,
61 columns: IColumn[],
62 filter_action: TableAction
63) =>
64 !fixed.headers
65 ? 0
66 : headerRows(columns) +
67 (filter_action !== TableAction.None ? 1 : 0) +
68 data2number(fixed.data);
69
70const populateColumnsFromData = (data: Data) =>
71 data.length > 0

Callers 1

sanitizeMethod · 0.85

Calls 1

data2numberFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…