MCPcopy Index your code
hub / github.com/plotly/dash / getFixedColumns

Function getFixedColumns

components/dash-table/src/dash-table/dash/Sanitizer.ts:48–57  ·  view source on GitHub ↗
(
    fixed: Fixed,
    row_deletable: boolean,
    row_selectable: Selection
)

Source from the content-addressed store, hash-verified

46const data2number = (data?: any) => +data || 0;
47
48const getFixedColumns = (
49 fixed: Fixed,
50 row_deletable: boolean,
51 row_selectable: Selection
52) =>
53 !fixed.headers
54 ? 0
55 : (row_deletable ? 1 : 0) +
56 (row_selectable ? 1 : 0) +
57 data2number(fixed.data);
58
59const getFixedRows = (
60 fixed: Fixed,

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…