MCPcopy Create free account
hub / github.com/angular-rust/ux-charts / data_cell_changed

Method data_cell_changed

src/basechart.rs:164–173  ·  view source on GitHub ↗

Event handler for [DataTable.onCellChanged]. NOTE: This method only handles the case when [record.columnIndex] >= 1;

(&self, record: DataCellChangeRecord<D>)

Source from the content-addressed store, hash-verified

162 ///
163 /// NOTE: This method only handles the case when [record.columnIndex] >= 1;
164 pub fn data_cell_changed(&self, record: DataCellChangeRecord<D>) {
165 if record.column_index >= 1 {
166 // let f = entity_value_formatter != null && record.newValue != null
167 // ? entity_value_formatter(record.newValue)
168 // : null;
169 // channels[record.columnIndex - 1].entities[record.rowIndex]
170 // ..value = record.newValue
171 // ..formatted_value = f;
172 }
173 }
174
175 /// Event handler for [DataTable.onRowsChanged].
176 pub fn data_rows_changed(&self, record: DataCollectionChangeRecord) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected