Skip to content

does not work onFillPattern #1029

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
SemyonSt opened this issue Apr 14, 2025 · 0 comments
Open

does not work onFillPattern #1029

SemyonSt opened this issue Apr 14, 2025 · 0 comments

Comments

@SemyonSt
Copy link

SemyonSt commented Apr 14, 2025

Help me understand what is missing to launch the function fill?

this is what it looks like DataEditor
the value is not displayed in the console when fill

				<>
					<DataEditor
						getCellContent={getCellContent}
						onCellEdited={onCellEdited}
						columns={cols}
						rows={rows.length}
						customRenderers={[ButtonCellRenderer]}
						fillHandle={true}
						onFillPattern={evt => {
							console.log('123')
							debugger
							console.log('evt', evt)
						}}
					/>
				</>

this is what it looks like getCellContent

return {
					kind: GridCellKind.Number,
					allowOverlay: true,
					displayData: String(hours),
					data: String(hours),
					readonly: false,
				}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant