Skip to content

DataTable autoEdit expose #6864

Description

@rmchurch

Would be nice to expose autoEdit option of SlickGrid for DataTable (changes so a single-click instead of double begins editing cell). I wrote custom extension below, may think of giving as optional parameter though.

import * as p from "core/properties"
import {DataTable, DataTableView} from "models/widgets/tables/data_table"

export class customDataTableView extends DataTableView

	render: () ->
		super()

		@grid.setOptions({autoEdit:@model.autoEdit})

export class customDataTable extends DataTable
	default_view: customDataTableView
	type: 'customDataTable'

	@define { autoEdit: [p.Bool,false] }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions