Disable multi select?

后端 未结 6 1920
栀梦
栀梦 2021-01-18 08:27

Is there a way to disable multi select?

6条回答
  •  醉梦人生
    2021-01-18 08:52

    I know this is an old question, but updates to Slickgrid now allow you to disable multiSelect in the grid options:

    var options = {
                editable: false,
                enableCellNavigation: true,
                asyncEditorLoading: false,
                multiSelect: false
            };
    

    With this option, clicking while holding a ctrl or shift does nothing, and undesirably, you cannot deselect a cell with ctrl + click, or clicking the selected cell again

提交回复
热议问题