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 an editor has floating : true - the height and width value doesn't work properly, unless the updateSize is set to an empty function.
{
text : 'Color',
field : 'color',
flex : 1,
cellEditor : { floating : true, align : 't40-t0', width: 500, height: 500, updateSize : () => {}},
editor : (ref) => <ColorEditor ref={ref} />,
renderer({ cellElement, value }) {
// set the color based on the value (e.g. "Red" should be red)
cellElement.style.color = value;
return value;
}
}
@jsakalos mentioned this is a hackish solution - we should have a proper fix for this.
The text was updated successfully, but these errors were encountered:
When an editor has
floating : true
- the height and width value doesn't work properly, unless theupdateSize
is set to an empty function.@jsakalos mentioned this is a hackish solution - we should have a proper fix for this.
The text was updated successfully, but these errors were encountered: