How to use the @dojo/widgets/grid/utils.createUpdater function in @dojo/widgets

To help you get started, we’ve selected a few @dojo/widgets examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github dojo / examples / widget-showcase / src / widgets / tabs / GridTab.ts View on Github external
export default factory(function GridTab({ middleware: { icache } }) {
	const data = icache.getOrSet('data', generateData(10000));
	return v('div', { classes: css.root }, [
		w(Grid, {
			columnConfig: columnConfig,
			fetcher: createFetcher(data),
			updater: createUpdater(data),
			height: 400
		})
	]);
});
github dojo / widgets / src / examples / src / widgets / grid / EditableCells.tsx View on Github external
},
	{
		id: 'firstName',
		title: 'First Name',
		editable: false
	},
	{
		id: 'lastName',
		title: 'Last Name',
		editable: false
	}
];

const data = createData();
const fetcher = createFetcher(data);
const updater = createUpdater(data);
const factory = create();

export default factory(() => {
	return ;
});