react-bootstrap-table/react-bootstrap-table2

Load editor renderer by default

开放

#964 创建于 2019年6月3日

 (7 条评论) (1 个反应) (0 位负责人)JavaScript (415 个派生)batch import
cell-editorhelp wanted

仓库指标

星标
 (1,249 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

I have overwritten the checkbox provided to load a custom toggler using the Editor renderer. But the issue is that since "mode" is either "click" or "dbClick" , user will have to click the column twice..on first click the editor renderer will be loaded and second click,editor renderer will toggle the checkbox.

How can I load the editor renderer by default?..i.e without the first click to activate the cell editing.

I have checked all the examples,even the advanced one.Everywhere the user has to first click to initiate the editing since the "mode" is set to "click".Is there a way to trigger the mode?

贡献者指南