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

Function getSomeReadonlyState

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

Source from the content-addressed store, hash-verified

163}
164
165function getSomeReadonlyState() {
166 const state = getDefaultState();
167 state.tableProps.editable = true;
168 state.tableProps.row_deletable = false;
169
170 (state.tableProps.columns || []).forEach(column => {
171 column.editable = !R.includes(column.id, ['bbb', 'eee', 'fff']);
172 });
173
174 return state;
175}
176
177function getSpaceInColumn() {
178 const state = getDefaultState(generateSpaceMockData);

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…