Skip to content

Commit

Permalink
Update story
Browse files Browse the repository at this point in the history
  • Loading branch information
jassmith committed Feb 19, 2022
1 parent d6930f3 commit cd7f99b
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions packages/core/src/data-editor/data-editor-beautiful.stories.tsx
Expand Up @@ -2564,7 +2564,19 @@ export const SpanCell: React.VFC = () => {
);

return (
<BeautifulWrapper title="Spans" description={<Description>FIXME.</Description>}>
<BeautifulWrapper
title="Spans"
description={
<Description>
By setting the <PropName>span</PropName> of a cell you can create spans in your grid. All cells
within a span must return consistent data for defined behavior.
<MoreInfo>
Spans will always be split if they span frozen and non-frozen columns. By default selections are
always expanded to include a span. This can be disabled using the{" "}
<PropName>spanRangeBehavior</PropName> prop.
</MoreInfo>
</Description>
}>
<DataEditor
{...defaultProps}
getCellContent={mangledGetCellContent}
Expand All @@ -2577,7 +2589,7 @@ export const SpanCell: React.VFC = () => {
</BeautifulWrapper>
);
};
(Minimap as any).parameters = {
(SpanCell as any).parameters = {
options: {
showPanel: false,
},
Expand Down

0 comments on commit cd7f99b

Please sign in to comment.