You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see single character in the data grid.
I also see column names and data grid with two rows (this is expected - but value is single character).
my array looks like this
(2) ["CKT", " RH"]
0: "CKT"
1:" RH"
My datagrid look like below
code Action
K
R
Any idea - why is it not printing whole string?
react version 16.8.4
react data grid 6.1.0
The text was updated successfully, but these errors were encountered:
Hello,
import ReactDataGrid from 'react-data-grid'; const [rows, setRows] = useState([]); const columns = [{ key: "", name: "Code", editable: true }, { key: "delete", name: "Action", editable: false} ]; function loadcode(){ ........service call.... setRows(codes.Tcode.split(',')); } function rowGetterTest(index) { // console.log(rows[index]); return rows[index]; }; return( <ReactDataGrid columns={columns} rowGetter={rowGetterTest} rowsCount={rows.length} rowSelection={true} onGridRowsUpdated={onGridRowsUpdated} />);
I see single character in the data grid.
I also see column names and data grid with two rows (this is expected - but value is single character).
my array looks like this
(2) ["CKT", " RH"]
0: "CKT"
1:" RH"
My datagrid look like below
code Action
K
R
Any idea - why is it not printing whole string?
react version 16.8.4
react data grid 6.1.0
The text was updated successfully, but these errors were encountered: