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

Function getSingleHeaderState

components/dash-table/demo/AppMode.ts:264–274  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

262}
263
264function getSingleHeaderState() {
265 const state = getDefaultState();
266
267 (state.tableProps.columns || []).forEach(column => {
268 if (Array.isArray(column.name)) {
269 column.name = column.name[column.name.length - 1];
270 }
271 });
272
273 return state;
274}
275
276function getActionableState() {
277 const state = getDefaultState();

Callers 1

getModeStateFunction · 0.85

Calls 1

getDefaultStateFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…