jeudi 10 octobre 2019

How can I make row-click independent of checkbox-selection of row in react-tabulator?

I wish to select a row on row click and select the checkbox on check. these should be independent of each other.

I tried making the row selectable as true in options, but want to change the "rowSelection" formatters settings as being independent

const options = {
      height: 270,
      width:  100,
      layout:"fitColumns",
      tooltips:true,
      rowSelected:true,
      autoResize:true
    };
columns= {[
            {formatter:"rowSelection", titleFormatter:"rowSelection", align:"center", headerSort:false, cellClick:function(e, cell){
                cell.getRow().toggleSelect();
                // cell._cell.setValue(true);
                console.log("CheckboxSelection......", cell)
              }, width: 20},



Aucun commentaire:

Enregistrer un commentaire