rename some events.

This commit is contained in:
2024-01-23 09:22:08 +08:00
parent 10e4e52b51
commit 27b2f1052f
4 changed files with 46 additions and 37 deletions

View File

@ -975,7 +975,7 @@ export default class CustomerCommunication {
});
grid.extraRows = customerRecords.filter(c => !nullOrEmpty(c.Notes)).length;
grid.source = customerRecords;
grid.selectedRowChanged = index => {
grid.onSelectedRowChanged = index => {
if (index >= 0 && this._var.gridWo.selectedIndexes?.length > 0) {
this._var.gridWo.selectedIndexes = [];
}
@ -1034,7 +1034,7 @@ export default class CustomerCommunication {
});
gridWo.extraRows = workOrderOnly.filter(c => !nullOrEmpty(c.Notes)).length;
gridWo.source = workOrderOnly;
gridWo.selectedRowChanged = index => {
gridWo.onSelectedRowChanged = index => {
if (index >= 0 && this._var.gridContact.selectedIndexes?.length > 0) {
this._var.gridContact.selectedIndexes = [];
}