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

Function getReadonlyState

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

Source from the content-addressed store, hash-verified

151}
152
153function getReadonlyState() {
154 const state = getDefaultState();
155 state.tableProps.editable = false;
156 state.tableProps.row_deletable = false;
157
158 (state.tableProps.columns || []).forEach(column => {
159 column.editable = false;
160 });
161
162 return state;
163}
164
165function getSomeReadonlyState() {
166 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…