Open WildOsk opened 2 years ago
Is it possible to add rowClick just with hooks
const rowClic = (ev, row) => { console.log(row, ev); }; <ReactTabulator ref={(ref) => setReft(ref)} data={data} columns={columns} layout={"fitColumns"} options={options} rowClick={(e,row) => rowClic(e, row)} />
Demo: Codesandbox
not sure why you meant but the rowClick prop is deprecated now, please use the new "events" prop and put rowClick in there.
Is it possible to add rowClick just with hooks
Demo: Codesandbox