react-bootstrap-table/react-bootstrap-table2

Load editor renderer by default

Open

#964 aperta il 3 giu 2019

Vedi su GitHub
 (7 commenti) (1 reazione) (0 assegnatari)JavaScript (415 fork)batch import
cell-editorhelp wanted

Metriche repository

Star
 (1249 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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?

Guida contributor