react-bootstrap-table/react-bootstrap-table2

Load editor renderer by default

Open

#964 创建于 2019年6月3日

在 GitHub 查看
 (7 评论) (1 反应) (0 负责人)JavaScript (1,249 star) (415 fork)batch import
cell-editorhelp wanted

描述

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?

贡献者指南