- For those who have used React-Tables and are stuck while adding S.N or an extra column in React-Tables.
Here,
const fields = ['s.n', 'title', 'url', 'state'];
If columns are fetched from backend/api
and you want to add the "S.N" column, then
const columnFields = ['s.n'];
columnFields.push(...fields);
Continue reading at : blazecodes.pradhansaroj.com.np
Top comments (0)