You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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] }
The text was updated successfully, but these errors were encountered:
@rmchurch If you submit a PR to add this to the built-in table with autoEdit changed to auto_edit to match the property naming convention, I will be happy to merge it. You will probably be able to get to it much sooner than anyone else (some folks are out the entire next month and others are switching projects)
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.
The text was updated successfully, but these errors were encountered: