MCPcopy Create free account
hub / github.com/plotly/dash / editColumnName

Function editColumnName

components/dash-table/src/dash-table/utils/actions.js:188–205  ·  view source on GitHub ↗
(
    column,
    columns,
    headerRowIndex,
    mergeDuplicateHeaders
)

Source from the content-addressed store, hash-verified

186}
187
188export function editColumnName(
189 column,
190 columns,
191 headerRowIndex,
192 mergeDuplicateHeaders
193) {
194 const newColumnName = window.prompt('Enter a new column name');
195 if (newColumnName === null) {
196 return null;
197 }
198 return changeColumnHeader(
199 column,
200 columns,
201 headerRowIndex,
202 mergeDuplicateHeaders,
203 newColumnName
204 );
205}

Callers

nothing calls this directly

Calls 1

changeColumnHeaderFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…