aquí getDAtes y isChecked son valores booleanos y obtenemos startDate de la cuadrícula y calculamos la hora de inicio de acuerdo con ella. hay valores de tiempo en la matriz allTimes
//index.js
{field: 'starttime', headername: 'starttime', renderCell: (params) => ( <Dropdown value={(getDates && isChecked) ? getStartTime(params.row.startDate) : getDropDownStartTime(params)} options={[...allTimes]} onChange={(event) => { params.row[STARTTIME] = event.target.value; handleGridUpdate(params.row, STARTTIME); }} /> } //handlegridupdate handleGridUpdate = useCallback((row,type) => { const item = info[row.id] ? Object.assign({}, info[row.id]) : {}; if(type === STARTTIME){ item.starttime = row.starttime; } info[row.id]=item; dispatch(setInfo(info)); }, [dispatch, info]);