You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When loading data asynchronously, autoWidth does not properly resize grid columns.
Reproduction:
functionApp(){const[items,setItems]=useState<number[]|undefined>();useEffect(()=>{setTimeout(()=>{constgeneratedItems=Array.from({length: 10},(_,i)=>i);setItems(generatedItems);},100);},[]);return(<div><Griditems={items}><GridColumnheader="A"autoWidthflexGrow={0}renderer={model=>`A long column text ${model.item}`}/><GridColumnheader="B"autoWidthflexGrow={0}renderer={model=>`B ${model.item}`}/><GridColumnheader="C"autoWidthflexGrow={0}renderer={model=>`C ${model.item}`}/></Grid></div>)}
When loading data asynchronously,
autoWidth
does not properly resize grid columns.Reproduction:
Outcome:
Version: 2.4.0-alpha2
Related:
The text was updated successfully, but these errors were encountered: