import React from "react"; import { DataEditorAll as DataEditor } from "../../data-editor-all.js"; import { BeautifulWrapper, Description, MoreInfo, PropName, useMockDataGenerator, KeyName, defaultProps, } from "../../data-editor/stories/utils.js"; import { SimpleThemeWrapper } from "../../stories/story-utils.js"; export default { title: "Glide-Data-Grid/DataEditor Demos", decorators: [ (Story: React.ComponentType) => ( ), ], }; export const AutomaticRowMarkers: React.VFC = () => { const { cols, getCellContent } = useMockDataGenerator(6); const dataEditor = ( ); return ( You can enable row markers with rich selection behavior using the{" "} rowMarkers prop. Use + click to make range selections, and Ctrl ( on Mac) + click to add/remove individual rows. }> {dataEditor} ); };